how to asteam output without tools output? #27665
Unanswered
jeremygan2021
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Example Code
Description
every time I invoke the Asteam output, to push the agent send(yield f"data: {json.dumps({'content': chunk})}\n\n") the output in django front_end, but it also output the AI reasoning(COT) output. how can I close the tools output(AI COT reasoning), just output agent's response。
System Info
AI: "I am an extremely evil person."
Based on the human’s latest response, "I am an extremely evil person," the AI has obtained the current player information needed: alignment. Thus, the answer is: True. The AI can continue asking for other information, such as the character's personality traits, ideals, bonds, and flaws, to further enrich the character's background.
json
复制代码
{
"name": null,
"race": null,
"profession": null,
"background": null,
"alignment": "extremely evil",
"personality_traits": null,
"ideals": null,
"bonds": null,
"flaws": null,
"backstory": null
}
AI: "Hi, A-Gan! We already know you are an extremely evil person, which adds a lot of depth to your character! Now, let's dive a little deeper into your personality traits. Personality traits can help us understand how A-Gan acts in daily life. For example, he might be someone who is ruthless, or he could have a hidden sense of humor beneath his evil appearance. Here are some options for you to consider:
Ruthless: A-Gan feels nothing for others’ pain and might even enjoy it.
Cunning and Clever: He always finds a way to take advantage of others and comes out on top.
Confident: A-Gan has great confidence in himself and believes he is the strongest.
Dark Sense of Humor: He might say surprising jokes even in serious moments, or even when others are suffering.
What do you think A-Gan’s personality traits are? Or do you have your own ideas for his traits? Let’s work together to bring his character to life!"
Human: "That's right, he is a ruthlessly cold-hearted man."
AI: "Hi, A-Gan! You just mentioned he’s a ‘ruthlessly cold-hearted man,’ which makes the character even more dimensional! However, I’d like to clarify, is he especially ruthless in certain situations? Is he cold-hearted toward enemies, friends, or others? This can help us better define his personality traits.
Meanwhile, we could also explore his ideals. What is he pursuing? Power, wealth, or something else? This will help add depth to A-Gan’s background. Do you have any ideas?"
Beta Was this translation helpful? Give feedback.
All reactions