Skip to content

Terminal-based AI chatbot with infinite personalities, using local LLMs via ollama

License

Notifications You must be signed in to change notification settings

h1ddenpr0cess20/ollamarama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ollamarama

Terminal based AI chatbot with infinite personalities, using local LLMs with Ollama.

Also available for IRC and Matrix chat protocols.

Setup

Install and familiarize yourself with Ollama, make sure you can run local LLMs, etc.

You can install it with this command:

curl https://ollama.ai/install.sh | sh

Once it's all set up, you'll need to download the models you want to use. You can play with the available ones and see what works best for you. Add those to the config.json file. If you want to use the ones I've included, just run ollama pull modelname for each.

You'll also need to install rich and prompt_toolkit

pip3 install rich prompt_toolkit

Use

python3 ollamarama.py

/help shows the help menu

/reset resets to default personality

/clear resets and clears the screen

/stock sets bot to stock model settings

/persona activates personality changer

/custom use a custom system prompt

/model list models and change the current model

/model reset reset to default model

/temperature changes temperature

/top_p changes top_p

/repeat_penalty changes repeat_penalty

/quit or /exit exits the program

About

Terminal-based AI chatbot with infinite personalities, using local LLMs via ollama

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages