orchestration

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EinoOrchestrationAgent

type EinoOrchestrationAgent struct {
	// contains filtered or unexported fields
}

EinoOrchestrationAgent uses Eino framework for deterministic orchestration

func NewEinoOrchestrationAgent

func NewEinoOrchestrationAgent(cfg *config.Config) *EinoOrchestrationAgent

NewEinoOrchestrationAgent creates a new Eino-based orchestration agent

func (*EinoOrchestrationAgent) HandleOrchestrationRequest

func (oa *EinoOrchestrationAgent) HandleOrchestrationRequest(w http.ResponseWriter, r *http.Request)

HTTP Handler

func (*EinoOrchestrationAgent) Orchestrate

Orchestrate executes the deterministic Eino workflow

type QualityDecision

type QualityDecision struct {
	State     *VerificationState
	NeedMore  bool
	Shortfall int
}

type ResearchState

type ResearchState struct {
	Request       *models.OrchestrationRequest
	SearchResults []models.SearchResult
}

State types for the workflow

type SynthesisState

type SynthesisState struct {
	Request       *models.OrchestrationRequest
	SearchResults []models.SearchResult
	Candidates    []models.CandidateStatistic
}

type VerificationState

type VerificationState struct {
	Request       *models.OrchestrationRequest
	AllCandidates []models.CandidateStatistic
	Verified      []models.Statistic
	Failed        int
}

Jump to

Keyboard shortcuts

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