Replies: 3 comments 2 replies
-
@BetoBraga, it's not clear to me precisely what you want when you say the following "make the conversable agent ask for specific questions to, in the end, send a JSON to a route in my backend." I suspect that this is fundamentally unrelated to teachability. Are you expecting the agent to write code which will actually send the JSON? Or do you want the agent to simply output the JSON in its response to the user? |
Beta Was this translation helpful? Give feedback.
-
It sounds like this has nothing to do with teachability, so you could probably remove that part of the code. You need function calling to work for sure. Have you successfully run sample code for using functions? |
Beta Was this translation helpful? Give feedback.
-
Teachability doesn't work that way. Or maybe I misunderstand what you're trying to do. I also don't understand your prompt at the top. For one thing, I don't know what you mean by "proposer". It's a very uncommon word. So I don't expect that GPT-4 would understand what you mean either. On top of that, if you're going to put all the instructions in the prompt, then teachability is definitely not needed. Have you read the blog post on teachability and run the code examples successfully? |
Beta Was this translation helpful? Give feedback.
-
Hi, Guys!
Need help to solve a Problem.
I am trying to integrate autogen with a Chat API - But I'm blocked with some kind of logic block... Here's the problem:
I want to make the conversable agent ask for specific questions to, in the end, send a JSON to a route in my backend.
So, for it I made this prompt:
My goal is to receive a message through a POST route and deliver the response to that message. My actual objective is to make the Conversable Agent return the questions from my prompt until all are answered and then make a POST request to route X. Since each message is a request, it occasionally forgets and starts over in the middle of the conversation. How can I fix this?
My code:
Can anyone help with it?
Beta Was this translation helpful? Give feedback.
All reactions