Uploading a documentation pdf

Is it possible to upload a .txt file to OpenAI?
I want the LLM to use the file as a reference/context to answer questions.
The Objective is to avoid having to send multiple messages just to tell the LLM the context.

Hi and welcome to the Developer Forum!

The model is “stateless” it has no memory of prior events, even if you were to upload a text file it would have to read it each time and you would have to allocate and pay for that number of tokens each time, there is currently no way to avoid this.

1 Like