Calling Openai assistants

I have built an assistant on openai playground that takes input as a document and returns a response as text, I was thinking if that is possible to call that assistant by sending it the document using if not is there a way I can pass a document or upload a document on and then I can write a code in python that will make a call to that assistant and using this document and will return a text?


This topic might be of interest to you,

You can use the Upload a file module, and pass it to your custom OpenAI assistant.

Don’t forget to select “Knowledge Retrieval” in the OpenAI module.