Dialectic Endpoint
An endpoint for easily reasoning about your users
This guide goes over automatic insights generated by Honcho. An example of this being used can be found in Curation Buddy
Honcho will do automatic reasoning for you to derive facts about users and allow your own agents to use them to reason about the user’s needs. There are two aspects to this:
- Automatic Fact Derivation
- Dialectic Endpoint
Automatic Fact Derivation
When you are saving conversations in sessions and messages via Honcho an automatic callback is run that
will reason about the conversations and store facts in a collection
named Honcho. This is a reserved collection
specifically for the backend Honcho agent to interact with.
These facts are derived asynchonously and automatically as your users interact with your agents.
Dialectic Endpoint
You can make use the automatically derived facts in the Honcho
collection directly by querying the documents stored in it,
but an alternative is to use the *Dialectic Endpoint`. What this is, is an endpoint that allows you to talk to an agent that
can automatically take the collection into their context and reason about the users with you.
This chat interface is exposed via the Sessions
object.
Belows is some example code on how this works.