Git Product home page Git Product logo

chatmate's Introduction

ChatMATE - Chat Multi-purpose AI Technology

This app is an LLM-powered chatbot built using Streamlit and HugChat.

HugChat is an unofficial port to the HuggingFace Chat API that is powered by the OpenAssistant/oasst-sft-6-llama-30b-xor LLM model.

Demos

demo

Run the app

  • Install the dependencies
pip install -r requirements.txt
  • Run the app.py using the following command
streamlit run app.py

Libraries used

This app is built using the following Python libraries:

How to Get Cookies ?

  • Install the Cookie-Editor extension for Chrome or Firefox
  • Go to HuggingChat and login
  • Open the extension
  • Click Export on the bottom right, then Export as JSON(This saves your cookies to the clipboard)
  • Paste your cookies into a file cookies.json in the root folder

chatmate's People

Contributors

codemaker2015 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

manas95826

chatmate's Issues

Message is not JSON serializable

Hi ,
when i ask a query i get the following error
MarshallComponentException: ('Could not convert component args to JSON', TypeError('Object of type Message is not JSON serializable'))

Traceback:
File "C:\Users\nemo\Desktop\chatMATE-master\app.py", line 48, in
message(st.session_state['bot_response'][i], key=str(i))
File "C:\Users\nemo\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit_chat_init_.py", line 104, in message
_streamlit_chat(message=message, seed=seed, isUser=is_user, avatarStyle=avatar_style, key=key, allow_html=allow_html, is_table=is_table)

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.