Otto: The minimalistic Framework to build AI Assistants
Welcome to Otto, the most minimalistic library for building intelligent AI Assistants, adept for also handling multitenancy and secure authentication.
pip install ottoai
Example
Turn the Github SDK into an agent that can answer questions from Github live data using pandas to calculate results.
import ottoai
import openai
import pandas
from github import Github, Auth
# create an assistant
eve = ottoai.Assistant(name="eve", personality="Like Scarlett Johansson with John Oliver's wits", llm_engine=openai, model="gpt-4")
# Make your agent capable of answering questions and do all things Github, by simply passing the sdk module
# Remember. Just pass objects as skills, and Otto will figure out the rest.
eve.add_skill(Github)
eve.add_skill(pandas)
# Start a conversation and add user specific context (variable names must be interpretable, Otto will take care of the rest)
# In this case the assistant will need access token to github, this is so you can pass context dynamically (solving for multitenancy)
conversation = eve.start_conversation(user_name = "Bob", user_context_variables = {"github_api_token":"sometoken"} )
# ask a question
response = conversation.message("Who were the last 5 people to star the mindsdb/otto repo?")
As simple as that, no need to build tools or chaining, just pass objects as skills, otto figures out the rest.
Metadata
Release files for ottoai 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ottoai-0.0.5.tar.gz | 5.3 kB | Without provenance | Details for ottoai-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ottoai-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for ottoai-0.0.5-py3-none-any.whl |
Total release size: 11.4 kB
Release files / ottoai-0.0.5.tar.gz
| Download URL | ottoai-0.0.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67983621509fc1d90b54eec32eedc68705001129fcf4798664f1e19b582e97e1
|
|
BLAKE2b-256 checksum How to use checksums |
48d924e12c9b32b50b363cda2d397a7bb3e93828c43dd0ab4d29a8c865054067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / ottoai-0.0.5-py3-none-any.whl
| Download URL | ottoai-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6e8a511375bd5c72d1a63e8632b5590f38ea22868bb2b825396859d653e2425
|
|
BLAKE2b-256 checksum How to use checksums |
90ab1a6de247d02c9ee4b0f23c3f5548e00a5eff4f3906d839fa7cb6a2739555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for ottoai 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.