how to get access to quote in file search annotation

Marj De 0 Reputation points
2024-12-16T15:34:14.4333333+00:00

Hi,

I am using an OpenAI assistant and can see the content of the citation in the Playground. However, I would also like to access it in Python. I have attached the picture, and when I hover over the files, I can see their content585DCD9F-F2D4-4C42-B1AE-FAC62ED60B8E_4_5005_c

I can also see that quote exists at the following link:

https://zcusa.951200.xyz/en-us/javascript/api/@azure/openai-assistants/messagetextfilecitationdetails?view=azure-node-preview

Can someone please help me access this in my Python code?

Thanks!

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,453 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.