Code Monkey home page Code Monkey logo

pluto.ai's Introduction

๐ŸŒ Socials:

Discord LinkedIn

๐Ÿ’ป Tech Stack:

TensorFlow Java Python Docker Firebase AWS Express.js Nginx Firebase MongoDB MySQL NumPy scikit-learn Postman React Vite Nodemon NodeJS NPM Bootstrap C C++ CSS3 HTML5 JavaScript Shell Script Azure Vercel Netlify

๐Ÿ“Š GitHub Stats:



pluto.ai's People

Contributors

aayushxrj avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pluto.ai's Issues

cl.Message() update() not working aysnchronously

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()

[Bug] ConversationalRetrievalChain is not able to retain memory.

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.

Helpful Medium blog

Approaches to Solve this Issue:

1. Use LLMChain

2. Use load_qa_chain

  • Github Issue Docs: Link
  • Stack Overflow: Link
  • Example Usage: Link

3. Use RunnablePassthrough (Using Approach 1 from app.py)

  • Official Docs 1: Link
  • Official Docs 2: Link

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.