Skip to main content

LlamaScript

Black Format Upload to PyPi CodeQL

VS Code Extension Downloads GitHub commit activity GitHub License

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)

Source distribution for llamascript 1.0.1
File Size Uploaded
llamascript-1.0.1.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llamascript 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page