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
LlamaScript usually has a file extension of .llama
, but if it is ran as a main script, it is usually llama
(no file extension).
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.4.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for llamascript-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ee043186650f8ae15209eb39016b4d70e1cb3ea5c32d34ee8deed67c3259e9 |
|
MD5 | edcbd55b95f567f17f4d85cf05f6e286 |
|
BLAKE2b-256 | 9079a257e1bb8d832df53724e5d331a5e6bde5ea0851592e5c71bb86e265d7fd |