-
Hi, I was looking into using an OpenAIAgent and was following this example: Is it possible to initialise an OpenAIAssistantAgent with an AzureSearchChatDataSource? I have previously used this with the IChatCompletionService like below:
Thanks, Euan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @eeadie - Your are correct that this would be problematic with For the Assistant API, a file-search tools is available that works against its VectorStore targets. I am aware that work is being done on the Microsoft/Azure side to develop the Assistant API so that it might be more integrated into Azure specific services. In the meantime, you might consider creating a function or plugin that exposes this behavior so that the assistant might call it as a function-tool; although, doing this in streaming-mode may present extra challenges.
Another option to consider might be to utilize the new SK Vector Store connector architecture to target Azure AI Search and create a plugin/function around this. |
Beta Was this translation helpful? Give feedback.
Hi @eeadie - Your are correct that this would be problematic with
OpenAIAssistantAgent
as it is not based uponIChatCompletionService
...rather is it targeting the Open AI Assistant API.For the Assistant API, a file-search tools is available that works against its VectorStore targets.
I am aware that work is being done on the Microsoft/Azure side to develop the Assistant API so that it might be more integrated into Azure specific services. In the meantime, you might consider creating a function or plugin that exposes this behavior so that the assistant might call it as a function-tool; although, doing this in streaming-mode may present extra challenges.