Embedding documents with OllamaEmbeddings is excessively slow
I’m currently working on a example where I am trying to embed this document https://www.gutenberg.org/files/1727/1727-h/1727-h.htm#chap24, using the Ollama model and the Chroma vector database. My code is as follows:
Langchain Chroma not populating Database
I have been trying to create a vector database for RAG model. But the Python script just gets stuck trying to add the documents