* 🧪 asyncify tests * ✨ asyncify client * Basic Test for Page based pagination * add sync buildstep and client * add vscode DX * Added Testing for generators and updated examples * feat: example updates * readme exists now * Stylistic changes and generic message * Metamessages with other refactoring - untested * Work with unit tests * Fix Examples * MEME-78 Update Changelogs * Docstrings to client * 🧪 autogenerate sync tests (#16) * Vector Support (#18) * Scaffold for PGVector support * Buggy crud with logic skeleton on api * Crud logic and schema definition for pgvector * Populate all routes and refactor to name Collection * vince's progress * AsyncCollection progress * Local PGVector Docker Container * client methods for sdk except document delete and update * Vector Support Passing All Test Cases * Docs Updates --------- Co-authored-by: vintro <vince@plasticlabs.ai> --------- Co-authored-by: hyusap <paulayush@gmail.com> Co-authored-by: vintro <vince@plasticlabs.ai> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| honcho | ||
| tests | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| poetry.lock | ||
| pyproject.toml | ||
README.md
Honcho
A User context management solution for building AI Agents and LLM powered applications.
Read about the motivation of this project here.
Read the full documentation of this project here
Installation
Install honcho:
pip install honcho-ai
or
poetry add honcho-ai
Getting Started
The Honcho SDK exposes a top level client that contains methods for managing the lifecycle of different conversations and sessions in an LLM powered application.
There is a demo server being run at https://demo.honcho.dev that the client uses by default if no other string is provided.
from uuid import uuid4
from honcho import Client as HonchoClient
app_id = str(uuid4())
honcho = HonchoClient(app_id=app_id)
user_id = "test"
session = honcho.create_session(user_id=user_id)
session.create_message(is_user=True, content="Hello I'm a human")
session.create_message(is_user=False, content="Hello I'm an AI")
The honcho sdk code contains docstrings — see the full sdk on GitHub
See more examples of how to use the SDK on GitHub