Blog comment on Combining LangChain and Weaviate #715
Replies: 5 comments 6 replies
-
This is remarkable! |
Beta Was this translation helpful? Give feedback.
-
The illustration of map_rerank is wrong.
After reranking, the answers will not be fed back into the LLM; instead, the best answer will be selected and output directly. You can see the example output of the document. |
Beta Was this translation helpful? Give feedback.
-
I was following the last code snippet to have a QA based interface. But I am facing this issue:
Code used is: qa = ChatVectorDBChain.from_llm(MyOpenAI, vectorstore)
chat_history = []
print("Welcome to the Weaviate ChatVectorDBChain Demo!")
print("Please enter a question or dialogue to get started!")
while True:
query = input("")
result = qa({"question": query, "chat_history": chat_history})
print(result["answer"])
chat_history = [(query, result["answer"])] Any help to overcome this is appreciated as this is the last part of the application that needs to be finished to publish it. |
Beta Was this translation helpful? Give feedback.
-
Combining multible memory systems will be needed, remember perfection is the enemy of the good and 2 imperfect systems crossreferenced rival the accuracy of 1 system that is very accurate but very expensive and non dynamic. Better make mutlible lightweight memorys with different strentght and dynamic ways to retrive things also add some LLMs to some part of it think of searches think from 1. principles and therys of what hypothetically is the best way for different memory retrival from different storrage (yes different strorrage for different purposes even if some memorys are stored twice or linked in different memorys for differetn purposes some more precise some very impresice but giving a "feel for what was said" a intutition so to say that can often be wrong but is still significantly useful in prioriticing what should be more likely first |
Beta Was this translation helpful? Give feedback.
-
It would be nice to also have an example for using HuggingFace... |
Beta Was this translation helpful? Give feedback.
-
Blog comment on Combining LangChain and Weaviate
LangChain is one of the most exciting new tools in AI. It helps overcome many limitations of LLMs, such as hallucination and limited input lengths.
https://weaviate.io/blog/combining-langchain-and-weaviate
Beta Was this translation helpful? Give feedback.
All reactions