Genius Chatbot
Version: 1.10.4
Chatbot that uses any hugging face model or OpenAI endpoint.
Local vector store supported with ChromaDB, or connect to a PGVector database
Allows for scalable intelligence tailored for hardware limitations
This repository is actively maintained - Contributions are welcome!
Contribution Opportunities:
- Support more vector databases
- Get list of models to choose from
- Output everything as JSON when selected
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:
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
Installation 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
Geniusbot Application
Use with a GUI through Geniusbot
Visit our GitHub for more information
Installation Instructions with Geniusbot:
Install Python Package
python -m pip install geniusbot
Repository Owners:
Metadata
Release files for genius-chatbot 1.10.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genius_chatbot-1.10.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for genius_chatbot-1.10.4-py2.py3-none-any.whl |
Release files / genius_chatbot-1.10.4-py2.py3-none-any.whl
| Download URL | genius_chatbot-1.10.4-py2.py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e09b64e06a2c96f2d10f059efda12d3e3f9334a812e539545fd410339d205e9d
|
|
BLAKE2b-256 checksum How to use checksums |
13fc03f45150a1ac361b28d3b4fa1f5040065fcbd0a05648bd30ba8f8a15dedb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for genius-chatbot 1.10.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.