Python wrapper for Brave's Leo AI chat functionality based on Llama
Project description
Brave Leo
"Brave Leo" is a Python module that provides access to Brave's Leo AI chat functionality based on Llama. With this module, you can easily integrate AI chat capabilities powered by Brave's Leo into your Python applications.
Installation
You can install "brave-leo" using pip:
pip install brave-leo
Usage
Here's a quick example of how to use "brave-leo" to interact with Brave's Leo AI:
from brave_leo import Leo
# Initialize the Leo instance
leo = Leo()
# Ask to Leo and get a response
response = leo.ask('What is the weather like today?')
print("Leo:", response.completion)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! If you have suggestions or find issues, please feel free to open an issue or submit a pull request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brave-leo-0.1.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for brave_leo-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f792c7c6d9aad93541e4730030757a48e2226c3dbe6935272ee1285d18b29be |
|
MD5 | 4b9b62709ee6b95780a7caac7cc3b911 |
|
BLAKE2b-256 | 4be0c2577d76e165a94ec8fda3f8e8d517d7c397b435339217c9b50cc707d40f |