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:
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.2.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for llamascript-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71f0bed3e2641ef419c977bf98521798e71d009004ea18942a1a136d60b757e |
|
MD5 | 909d7ec52d7c1a25066ed25886f3795b |
|
BLAKE2b-256 | 6ff9465d7aa0d1c1bd77366c4e231701a772be0229e3148fbec8b765d5c14f60 |