Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.27 KB

README.md

File metadata and controls

57 lines (45 loc) · 2.27 KB

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.