Open Local LLM Agent(Olla)
Build your own AI agent with open LLM.
from olla.agent.react_agent import ReActAgent
from olla.core.llm import OpenAI
from olla.core.function import CurrTime
if __name__ == "__main__":
llm = OpenAI(
base_url="http://localhost:11434/v1",
model="openchat",
api_key="sk-none",
)
agent = ReActAgent(
llm=llm,
tools=[CurrTime()]
)
agent.run("what time is now in Shanghai")
Metadata
Release files for olla 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| olla-0.1.1.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| olla-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / olla-0.1.1.tar.gz
| Download URL | olla-0.1.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e125fbe6e4a6aecc3989b38bd0c8bedffbd88856faa09f421b1f821aa38b3a8
|
|
BLAKE2b-256 checksum How to use checksums |
e516035b4a6e764e54e4e47cfc842c36245bf004ae969fb5035661cdf9ee23fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.9.7 Darwin/23.0.0
|
Release files / olla-0.1.1-py3-none-any.whl
| Download URL | olla-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29e582e34edeaa5473aa6f7b861becaee3e17f754457ddaa4c8671027a5e3d86
|
|
BLAKE2b-256 checksum How to use checksums |
ca862ed7f3704bf6a5f2471edbdcf433d4248e43ad2cc711d2770ff15dc6e285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.9.7 Darwin/23.0.0
|