-
I'm using the easy-rag extension which loads a pdf file at startup (in dev mode) to an embedding model which is stored in redis. Is there a way that I could write out the embeddings to a file rather than re-computing the embeddings? I'm using ollama with mistral, so my dev mode startup is about 10-15 minutes, and then 10-15 mins each time I make a change while in dev mode. If it were to write out the embeddings to a file the first time, then each subsequent time it would only need to load the embeddings into the store, that would be much faster, especially since (in my case) the file isn't changing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It sounds to me like the easiest solution for you would be to use a manually managed Redis (instead of Dev Services), so that you can have it populated just once, and then you would use Other than that, some kind of |
Beta Was this translation helpful? Give feedback.
I've moved this conversation over to #663