Git Product home page Git Product logo

ollachat's Introduction

Ollachat ๐Ÿš€

PyPI version


NOTE: package name has been chagned from st_ollama to ollachat in v1.5


TL;DR A minimal Streamlit Chatbot GUI for Ollama models

A Streamlit chatbot app that integrates with the Ollama LLMs. Includes chat history; and each model has its own chat log.

Getting started

  1. Install the pacakge (in virtualenv recommended)
pip install ollachat
  1. Start the app
ollachat

Demos

ollachat.mp4
video.mp4

show model details (release 1.0.4)

ollachat-llm-details.mp4

Notes

  • Ollama must be installed.
  • Supports macOS and Linux.

ollachat's People

Contributors

iamaziz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ollachat's Issues

write_stream() is not a valid Streamlit command.

after installing the cloned repo, try to run ollachat and got the following error,
Thanks

StreamlitAPIException: write_stream() is not a valid Streamlit command.

Traceback:
File "/home/gongai/projects/wgong/streamlit/ollachat/ollachat/chatbot.py", line 125, in <module>
    st_ollama(llm_name, prompt, conversation_key)
File "/home/gongai/projects/wgong/streamlit/ollachat/ollachat/chatbot.py", line 42, in st_ollama
    response_message = chat_box.write_stream(llm_stream(messages))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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.