Home
Softono
llamascript

llamascript

Open source Apache-2.0 Python
28
Stars
4
Forks
1
Issues
2
Watchers
7 months
Last Commit

About llamascript

World’s first and simplest AI-oriented programming language using Ollama.

Platforms

Web Self-hosted

Languages

Python

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.