Find answers from the community

Updated 2 months ago

@Logan M Anything specific you see that'

Anything specific you see that's sticking out that might be making the agent not stick? I keep getting this response:

Plain Text
{"response":{"response":"I'm sorry, but I cannot provide an answer without knowing the specific endpoint you are referring to. Endpoints can vary depending on the context, such as a URL for a web service or API.","sources":[],"source_nodes":[]}}


Here's the API. Also these requirements for Discord Nitro to send long messages are about to radicalize me to terrostic act 🥴
L
L
11 comments
lol oh nitro :BOUNCE:
That code looks fine to me. I think this is just the LLM being obtuse
maybe modifying the system prompt with more context could help

OpenAIAgent.from_tools(...., system_prompt="...")
I don't understand how the system prompt works. What am I supposed to do with that
Do I just write a string that tells it what it needs to do
'cause if so that's super easy and i feel dumb for removing it :3
system prompt is just general instructions for how the agent should act
kind of gives it some context to its interactions
if that makes sense
@Logan M I got it working and I'm so hyped
We really out here
Add a reply
Sign up and join the conversation on Discord