No-code AI chatbot using Ollama.
Project description
LlamaScript
LlamaScript is a no-code AI chatbot using Ollama.
Installation
You can install LlamaScript using pip:
pip install llamascript
Usage
To use LlamaScript, create a llama file (no file extension) with the following commands:
IGNORE: Use this before the CHAT command to supress the welcome message.
USE <model>: This command loads the specified model.
SYSTEM <message>: This command sets the system prompt.
PROMPT <message>: This command sets the message to be sent to the chatbot.
CHAT: This command sends the message to the chatbot and prints the response.
Here's an example:
IGNORE
USE llama3
PROMPT Hello, how are you?
CHAT
You can then run LlamaScript with the following command:
llamascript
License
LlamaScript is licensed under the Apache 2.0 License.
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 Distribution
llamascript-0.3.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for llamascript-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ecdb48d506213cbdc7415a5093046673be8ee6619696bbfb1bfcaf36e6a71a |
|
MD5 | c15e41cfbafaa1c0d1939ad307464879 |
|
BLAKE2b-256 | 04045c7cfdc6eee5701f955d740eb223b6e024ea3215fa90800e32d9c820b071 |