Is it possible to keep the conversations stored in OpenAI so I don't have to send all the conversation content every API request? Doing this every API call ends up consuming a lot of tokens and significantly increases the overral cost of the API. Currently I'm storing the conversations and contexts in the backend and resending the entire context+conversation history with each request.
#Mantain context and conversations with text-completions
15 messages · Page 1 of 1 (latest)
Currently there’s no way to store context upstream, so it has to be handled locally for now
I also have a project which does the same thing (storing and resending the entire context + convo)
I thought there is the possibility to rain you own model via the API?
Yes, but that doesn't store context
https://beta.openai.com/docs/guides/fine-tuning -> there is file upload also possible?
An API for accessing new AI models developed by OpenAI
I'm curious because I read about it, I use the API and I'm planning to use fine tuning in a project, but have not tried it.
I'm curious because I read about it, I use the API and I'm planning to use fine tuning in a project, but I have not (yet) tried it. So it is supported but not working?
or the usage of files: https://beta.openai.com/docs/api-reference/files -> isn't this the possibility to store context also?
Fine tuning is with prompt <> completion pairs
It's possible to make it act as context but difficult, you need a LOT of training data.
The files that it's talking about here are the jsonl files that are used to train the model in fine-tuning
Have you done it practically?
I have not fine tuned myself, no, but I've used embeddings to store context