microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
21.84k stars 3.25k forks source link

.Net: Is it possible to get the output from a tool like CodeInterpreter using the new Agents.OpenAI framework #6145

Closed sophialagerkranspandey closed 4 months ago

sophialagerkranspandey commented 5 months ago

Discussed in https://github.com/microsoft/semantic-kernel/discussions/6114

Originally posted by **rwhitworth127** May 3, 2024 I have run the samples to use the OpenAIAssistantAgent to retrieve the messages from the assistant on the thread. However, if I use the Azure Assistants Playground (or the OpenAI assistants interface at OpenAI), I can see where the tool itself is generating messages (for example, the code it ran and the results). Is this something I can access currently with the framework? If not, are there plans to do this? Is it even exposed at a level I could write this myself?
crickman commented 5 months ago

Good question. I'm currently working on improving the content capture fo the OpenAIAssistantAgent https://github.com/microsoft/semantic-kernel/issues/6047 and can explore this issue in the process.