Learn how to retrieve cached peer knowledge and understanding using Honcho’s working representation system
chat()
method which generates fresh representations on-demand, the working_rep()
method retrieves pre-computed representations that have been automatically built and stored as conversations progress.
Peer
objects (for global representations) or SessionPeer
objects (for session-scoped representations)
working_rep()
method provides fast access to these cached representations without requiring LLM processing
working_rep()
retrieves cached representations for fast access, while peer.chat()
generates fresh representations using the dialectic system. Use working_rep()
when you need fast access to stored knowledge, and chat()
when you need current analysis with custom queries.working_rep()
method on Session objects:
session.add_messages()
or similar methodsworking_rep()
vs peer.chat()
:
working_rep()
when:peer.chat()
when:session.working_rep()