Yes, you can feed embedchain with data that comes from a kafka consumer. This way we ensure that the chatbot's vector database is fed exclusively and in quasi-real time with the information we want, maximizing efficiency and minimizing hallucinations. I have made a demo using quix and embedchain for rapid prototyping. quix provides access to…
How to create a custom pdf lanchain agent with faiss.txt
Straight to the point, this is the code to be able to upload a pdf, or many, to an llm agent so i can ask questions about the content of the file. I am saving the data in an instance that runs locally, so the limit is the computer's RAM. I try to calculate the…
How to create an agent designed to write and execute Python code to answer a question.txt
Recently I'm playing with langchain and openai's ability to generate code that can run on your machine, in your virtual environment. This is something that for now no AI wants, can or is allowed to do, something that has surprised me. I have taken the most basic code to learn about this capability that langchain…
How to build a documentation-helper with langchain and pinecone
I am still following a langchain course in Udemy, this is one of the exercises, really cool. I have modified it a bit because of some problems with dependencies. Basically it is a chat enabled to talk with your documentation. Ideally, you would have verified processes that are responsible for ingesting your documentation into the…