Azure OpenAI Assistants V2 API in C# .NET - RAG with File Search Tool

Azure OpenAI Assistants V2 API in C# .NET - RAG with File Search Tool

Ed Andersen

54 года назад

4,706 Просмотров

Big updates for Azure OpenAI Service and its Assistants API! We can finally properly search files and do RAG / Retrieval-Augmented Generation in a decent way. Previously the "retrieval" tool in the Assistants V1 API was not available, but they've finally given access to the "file_search" tool. This means we can very quickly semantically search and query custom documents.

In this video I update my existing open source sample to use the V2 of the Assistants API to query a PDF file.

0:00 Intro
0:10 Whats new in Azure Open AI Service
2:04 Building a file search tool with Assistants API V2
8:22 Using FIleAnnotations to get extra information about the files referenced
10:16 Outro

Heres the code, leave a star please! :-) https://github.com/edandersen/csharp-openai-assistants-dotnet-console

#azure #aoai #openai

Тэги:

#openai #open_ai #azure_open_ai #aoai #assistants_api #open_ai_assistants_api_v2 #assistants_api_v2 #file_search #file_search_tool #azure #azure_open_ai_service #Azure #OpenAI #Azure_OpenAI_Service #Microsoft_Azure #AI #API #Coding #Programming #Python #REST #.NET #Source_Code #File_Search #Semantic_Indexes #C# #csharp #file_search_tool
Ссылки и html тэги не поддерживаются


Комментарии: