Documentation
¶
Index ¶
- func HookFuture[T any](hook Hook[T]) (Hook[T], Future[T])
- func Owls(owl api.Owl, extraOwls ...api.Owl) opts.Option[Parliament]
- func Steps(step ConversationStep, extraSteps ...ConversationStep) opts.Option[Parliament]
- type AsFuture
- type ConversationStep
- type ExecutionContext
- type Future
- type Hook
- type Parliament
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Steps ¶ added in v0.1.0
func Steps(step ConversationStep, extraSteps ...ConversationStep) opts.Option[Parliament]
Types ¶
type ConversationStep ¶ added in v0.1.0
type ConversationStep struct {
// contains filtered or unexported fields
}
func Step ¶ added in v0.1.0
func Step(owlName string, task string) ConversationStep
type ExecutionContext ¶ added in v0.1.0
type ExecutionContext struct {
// contains filtered or unexported fields
}
func Local ¶ added in v0.1.0
func Local[T any](hook Hook[T]) ExecutionContext
type Parliament ¶ added in v0.0.19
type Parliament struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.1.0
func New(options ...opts.Option[Parliament]) *Parliament
func (*Parliament) Run ¶ added in v0.1.0
func (p *Parliament) Run(ctx context.Context, rc ExecutionContext) error
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
examples
|
|
internal
|
|
shorttermmemory
Package shorttermmemory provides functionality for managing the runtime state of message processing, including message aggregation, forking, and joining of message streams, as well as usage tracking.
|
Package shorttermmemory provides functionality for managing the runtime state of message processing, including message aggregation, forking, and joining of message streams, as well as usage tracking. |
Package messages provides types and functionality for handling multi-part message content in different formats including text, images, and audio.
|
Package messages provides types and functionality for handling multi-part message content in different formats including text, images, and audio. |
pkg
|
|
Click to show internal directories.
Click to hide internal directories.