Skip to main content

clean_json_output

Method
This is a method of the Agent class in the agent module.
Clean and extract JSON from response text.

Signature

def clean_json_output(output: str) -> str

Parameters

output
str
required
No description available.

Returns

Returns
str
The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/agent/agent.py at line 5436