agents

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeConnection

func InitializeConnection(ctx context.Context, agentConfig Config, modelConfig models.Config) (client openai.Client, log logger.Logger, err error)

Types

type Config added in v0.0.6

type Config struct {
	// Name is the identifier for the agent
	Name string

	// Description provides details about the agent's purpose
	Description string

	// SystemInstructions defines the agent's behavior and role
	SystemInstructions string

	// EngineURL is the base URL for the model inference engine
	EngineURL string

	// APIKey
	APIKey string
}

Config represents the core configuration parameters for creating an agent

type Intent

type Intent struct {
	TopicDiscussion string `json:"topic_discussion"`
}

type Kind

type Kind string

AgentKind represents the type of agent

const (
	Basic        Kind = "Basic"
	Chat         Kind = "Chat"
	ChatServer   Kind = "ChatServer"
	Remote       Kind = "Remote"
	Tools        Kind = "Tools"
	Orchestrator Kind = "Orchestrator"
	Rag          Kind = "Rag"
	Compressor   Kind = "Compressor"
	Structured   Kind = "Structured"
	Macro        Kind = "Macro"
	Composite    Kind = "Composite"
)

Directories

Path Synopsis
rag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL