Use huggingface models to create an intelligent and scalable chatbot
Project description
Genius Chatbot
Version: 1.3.0
Chatbot that uses any desired hugging face model or allows for scalable intelligence based on hardware limitations
Usage:
| Short Flag | Long Flag | Description |
|---|---|---|
| -h | --help | See Usage |
| -a | --assimilate | Assimilate knowledge from media provided in directory |
| --batch-token | Number of tokens per batch | |
| --chromadb-directory | Number of chunks to use | |
| --chunks | Number of chunks to use | |
| -e | --embeddings-model | Embeddings model to use |
| --hide-source | Hide source of answer | |
| -j | --json | Export to JSON |
| --openai-token | OpenAI Token | |
| --openai-api | OpenAI API Url | |
| --pgvector-user | PGVector user | |
| --pgvector-password | PGVector password | |
| --pgvector-host | PGVector host | |
| --pgvector-port | PGVector port | |
| --pgvector-database | PGVector database | |
| --pgvector-driver | PGVector driver | |
| -p | --prompt | Prompt for chatbot |
| --mute-stream | Mute stream of generation | |
| -m | --model | Copy GPT4All .bin file from the Model Explorer |
| --max-token-limit | Maximum token to generate | |
| --model-directory | Directory to store models locally | |
| --model-engine | GPT4All LlamaCPP, or OpenAI |
Example:
Your very first time running should assimilate up to 3 documents to establish the Chroma Database. This will unlock prompting
genius-chatbot --assimilate "/directory/of/documents"
genius-chatbot --prompt "What is the 10th digit of Pi?"
genius-chatbot --prompt "Chatbots are cool because they" \
--model "wizardlm-13b-v1.1-superhot-8k.ggmlv3.q4_0.bin" \
--model-engine "GPT4All" \
--assimilate "/directory/of/documents" \
--json
Install Instructions
Install Python Package
Windows Prerequisites:
Visual Studio Code 2022
winget install -e --id Kitware.CMake
Ubuntu Prerequisites:
apt install -y pandoc
python -m pip install genius-chatbot
Repository Owners:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genius_chatbot-1.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: genius_chatbot-1.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dd5f7b501b4bb50c6bce1d2588cee3657dda6570231712ba5ed4d7b37d64a6b
|
|
| MD5 |
ad542be2fb0919a4faa1cc93784690a9
|
|
| BLAKE2b-256 |
2011f9a8a8f9e465777fbca8fb6ed24b5cf94b38f49454bd2a381fff63fae38d
|