No-code AI chatbot using Ollama.
Project description
LlamaScript
LlamaScript is a no-code AI chatbot using Ollama.
Table of Contents
Installation
You can install LlamaScript using pip:
pip install llamascript
Usage
To use LlamaScript, create a .llama file and write your script. Here are a few functions you can use:
use(...) // Specify the model to use
prompt(...) // Prompt the user for input
system(...) // System message for the AI
chat(...) // Chat with the user
save(...) // Save the model
Here's an example:
use("llama3")
prompt("Why is the sky blue?")
chat()
[!NOTE]
For more examples see here.
You can then run LlamaScript with the following command:
llamascript myscript.llama
License
LlamaScript is licensed under the Apache 2.0 License. See LICENSE for more information.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llamascript-1.0.1.tar.gz.
File metadata
- Download URL: llamascript-1.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
199a5f9a177ae57f2070c3ef827858a5187ccf7ddd6a83fb812d2e08b5002aac
|
|
| MD5 |
ec5c1bb6b99ec0ded628f2410dafb591
|
|
| BLAKE2b-256 |
6121723cf75c8dbeeb8487f874c6ca877d7efb3f6af32ec680b37360ab87a6dc
|
File details
Details for the file llamascript-1.0.1-py3-none-any.whl.
File metadata
- Download URL: llamascript-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e7102ae520a36382b81d3d0c6cb2bc78e2975058fbe35f74bc6b0d821e6fc9
|
|
| MD5 |
ee607bfc99b29d727bb7c819c446005f
|
|
| BLAKE2b-256 |
41c66d926f7ac556140eca68a69fd6b365e6582a48d35f45dfcc605889085979
|