MCPcopy
hub / github.com/SqueezeAILab/LLMCompiler / parse

Method parse

src/agents/agent.py:36–37  ·  view source on GitHub ↗

Parse text into agent action/finish.

(self, text: str)

Source from the content-addressed store, hash-verified

34
35 @abstractmethod
36 def parse(self, text: str) -> Union[AgentAction, AgentFinish]:
37 """Parse text into agent action/finish."""
38
39
40class Agent(BaseSingleActionAgent):

Callers 6

predict_and_parseMethod · 0.45
apredict_and_parseMethod · 0.45
_parse_generationMethod · 0.45
planMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected