Replies: 2 comments
-
I followed the kernel exection steps a little bit, seems the result from step 2 will be passed to step 3 when agent trys to summarize the action. Not sure if this is the correct understanding and how to optimize this. |
Beta Was this translation helpful? Give feedback.
-
Hi @0xffmeta, which SK language are you using? Are you using SK's agent framework or the chat completion methods? It sounds like you would not like the agent to return the final response which is passed through the LLM, is that correct? If that's the case, you can use a filter/hook to simply return the result from the tool call. This would return the properly formatted tool call response (the long markdown) instead of having that go through the LLM for a final response. Depending upon which SK language you're using, and the method (agent framework or chat completion) I can help guide you further. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to implemnt a very simple agent which only enables one tool to create a markdown document:
Seems in step 3, the response content always contains the result from step 2, e.g.
I have tried to optimize the system instructions like this
But seems the step 3 response is not changed too much.
Beta Was this translation helpful? Give feedback.
All reactions