aayushxrj / pluto.ai Goto Github PK
View Code? Open in Web Editor NEWA conversational Retrieval Augmented Generation (RAG) chatbot built with LangChain, Chainlit, and the Claude API for question-answering from documents.
A conversational Retrieval Augmented Generation (RAG) chatbot built with LangChain, Chainlit, and the Claude API for question-answering from documents.
I'm facing an issue where the cl.Message().update()
method is not updating the message content asynchronously as expected in my file processing application.
Here's the relevant part of my code:
@cl.on_chat_start
async def start():
# ...
msg = cl.Message(content=f"Processing `{file.name}`...", disable_feedback=True)
await msg.send()
# Process the file and split into chunks
chunks = split_into_chunks(file)
msg.content = f"Creating chunks for `{file.name}`..."
await msg.update()
# Store the data in form of embeddings
vectordb = store_embeddings(chunks)
msg.content = f"Creating embeddings for `{file.name}`. . ."
await msg.update()
# ...
msg.content = f"`{file.name}` processed. You can now ask questions!"
await msg.update()
LangChain Agents - Joining Tools and Chains with Decisions
ADVANCED Python AI Agent Tutorial - Using RAG
Python Advanced AI Agent Tutorial - LlamaIndex, Ollama and Multi-LLM!
nanonets.com/agents
awesome-langchain-agents-tools-github-repo
Building an Advanced Voice Assistant with Langchain
Langchain Project ideas
I have implemented the code for ConversationalRetrievalChain as per the official documentation provided by Chainlit, but it seems that the memory retention functionality is not working as expected. Despite following the guidelines, the bot fails to retain memory, which impacts its conversational capabilities.
Approaches to Solve this Issue:
Change create_stuff_documents_chain()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.