Documentation
¶
Index ¶
- Constants
- type Assistant
- func (a *Assistant) Run(ctx context.Context) error
- func (a *Assistant) RunWithThread(ctx context.Context, thread *thread.Thread) error
- func (a *Assistant) Thread() *thread.Thread
- func (a *Assistant) WithMaxIterations(maxIterations uint) *Assistant
- func (a *Assistant) WithParameters(parameters Parameters) *Assistant
- func (a *Assistant) WithRAG(rag RAG) *Assistant
- func (a *Assistant) WithThread(thread *thread.Thread) *Assistant
- type LLM
- type Parameters
- type RAG
Constants ¶
View Source
const (
DefaultMaxIterations = 3
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assistant ¶
type Assistant struct {
// contains filtered or unexported fields
}
func (*Assistant) RunWithThread ¶
func (*Assistant) WithMaxIterations ¶ added in v0.3.0
func (*Assistant) WithParameters ¶ added in v0.1.1
func (a *Assistant) WithParameters(parameters Parameters) *Assistant
type Parameters ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.