Skip to content

Error creating vector store from exception when executing agent (.../step10_assistant_tool_file_search.py) #9002

Closed Answered by moonbox3
selfishark asked this question in Q&A
Discussion options

You must be logged in to vote

@selfishark there are two ways to have the OpenAI Assistant handle files -- via the vector store (like you've been working with recently) or via the code interpreter (as shown in this example: https://github.com/microsoft/semantic-kernel/blob/ae29d8735ad2c756135fa2a9de4baa70b250c760/python/samples/concepts/agents/assistant_agent_file_manipulation.py#L62C9-L63C52.py#L63). By passing in a file to the code interpreter it is able to use it during its analysis.

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@moonbox3
Comment options

@moonbox3
Comment options

@selfishark
Comment options

@moonbox3
Comment options

Answer selected by sophialagerkranspandey
@selfishark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel agents
2 participants