Find answers from the community

Updated 3 months ago

Worlflow

Hi all, I created an agent that makes an external api call and retrieves json data of contact persons. I run into problems in my workflow when this api output is passed back to the llm.

Is there a specific way in which I can have the llm handle the retrurned json without any complications?
W
1 comment
You can give back llm a formatted response,that should work

user_details="""user_name: {name}
"""
llm_action=llm.complete("here is the user details: user_details\n do the following actions using this data")
Add a reply
Sign up and join the conversation on Discord