Local data in realtime voice Communication

How can use local data like PDF or Text for Realtime voice Communication.

I have pdf and text file, just i want to upload in vector store and get from the file to communicate with user

Functions are available, not internal tools.

You will need to build a connector between a tool call and the vector store search endpoint if you want to use OpenAI’s vector store file search separate endpoint, charged per-use.

Then you investigate the session create and session update object in the API reference to follow how to provide tools, which are provided in the style of the Responses API endpoint.