Lamini can be installed using pip, the package manager for Python. To install Lamini, open a command prompt and type:
This will download and install the latest version of Lamini and its dependencies.
Check if your installation was done correctly, by importing the LLM engine (called
llama) in your python interpreter. Fun fact: Lamini is the tribe of which llamas are a part, so you can import the module
llama to work with the LLM engine.
Setup your keys
Go to https://lamini.ai. Log in to get your API key and purchase credits (under the Account tab).
~/.powerml/configure_llama.yaml and put a key in it.
See the Authentication page for more advanced options.
Run the LLM engine with a basic test to see if installation and authentication were set up correctly.
from llama import LLM, Type, Context class Test(Type): test_string: str = Context("just a test") llm = LLM(name="my_test") test = Test(test_string="testing 123") llm(test, output_type=Test)
Now you're on your way to using the LLM engine on your specific use case!
To play with different types in an interface, you can log in at https://lamini.ai and use the playground there.