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.
Metadata
Release files for llamascript 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llamascript-1.0.1.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llamascript-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / llamascript-1.0.1.tar.gz
| Download URL | llamascript-1.0.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
199a5f9a177ae57f2070c3ef827858a5187ccf7ddd6a83fb812d2e08b5002aac
|
|
BLAKE2b-256 checksum How to use checksums |
6121723cf75c8dbeeb8487f874c6ca877d7efb3f6af32ec680b37360ab87a6dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Release files / llamascript-1.0.1-py3-none-any.whl
| Download URL | llamascript-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35e7102ae520a36382b81d3d0c6cb2bc78e2975058fbe35f74bc6b0d821e6fc9
|
|
BLAKE2b-256 checksum How to use checksums |
41c66d926f7ac556140eca68a69fd6b365e6582a48d35f45dfcc605889085979
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|