Kalyan Mudumby

Results 6 comments of Kalyan Mudumby

> any solution to this? I am facing same error when passing it to retrieval stuff chain. > > ``` > > MODEL_TYPE=GPT4All > MODEL_PATH=r'C:\Users\komal\Desktop\mages\chatbot\llama-2-7b-chat.Q3_K_M.gguf' > MODEL_N_CTX=1000 > MODEL_N_BATCH=8 >...

> @theinhumaneme you can use the inner cahche of the langchain, like: > > ``` > from langchain.globals import set_llm_cache > > set_llm_cache(GPTCache(init_gptcache)) > ``` > > more details: [#585...

Hello I have looked into the code and when changing `Generation` to `ChatGeneration` in the `cache.py` the cache seems to work fine and is responsive back again, it seems like...

Okay that works, thank you but now i get this error ``` Traceback (most recent call last): File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/development/scripts/chatbot-postgres-test.py", line 129, in execution_time = timeit.timeit(lambda: llm.invoke("Tell me a joke"), number=1)...

> @theinhumaneme or, you can show the embed_query func, maybe i can give you some advice there is no `to_embeddings` function in the `OpenAIEmbeddings` class now. We have `embed_query` and...

Okay thank you, I will look into the openai library thank you