#Mantain context and conversations with text-completions

15 messages · Page 1 of 1 (latest)

sterile galleon
#

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.

tame latch
#

I also have a project which does the same thing (storing and resending the entire context + convo)

thorn slate
tame latch
#

Yes, but that doesn't store context

thorn slate
thorn slate
thorn slate
thorn slate
tame latch
#

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.

tame latch
# thorn slate

The files that it's talking about here are the jsonl files that are used to train the model in fine-tuning

thorn slate
tame latch
#

I have not fine tuned myself, no, but I've used embeddings to store context