LlamaScript is a no-code AI chatbot using Ollama.
You can install LlamaScript using pip:
pip install llamascript
To use LlamaScript, create a .llama
file and write your script. Here are the commands 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
LlamaScript is licensed under the Apache 2.0 License. See LICENSE for more information.