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 details)
Built Distribution
File details
Details for the file llamascript-0.4.0.tar.gz
.
File metadata
- Download URL: llamascript-0.4.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6715b5189db0039a9433a242051d6b81267d5c7a5f7181cc2d8b3e891c5f6c |
|
MD5 | e1d038ef213bdda1577ec6d1c4d49555 |
|
BLAKE2b-256 | ad95601f7c2dc53902b676aa0f779215fc140f1c3ab97b493780b35943ac9210 |
Provenance
File details
Details for the file llamascript-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: llamascript-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ee043186650f8ae15209eb39016b4d70e1cb3ea5c32d34ee8deed67c3259e9 |
|
MD5 | edcbd55b95f567f17f4d85cf05f6e286 |
|
BLAKE2b-256 | 9079a257e1bb8d832df53724e5d331a5e6bde5ea0851592e5c71bb86e265d7fd |