refiner

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGlobalPreset

func SetGlobalPreset(p *Preset)

Types

type DefaultService

type DefaultService struct{}

func (DefaultService) RefineRequestedSchema

func (DefaultService) RefineRequestedSchema(rs *mcpschema.ElicitRequestParamsRequestedSchema)

type Preset

type Preset struct {
	Fields []map[string]any `json:"fields" yaml:"fields"`
	Match  struct {
		Fields []string `json:"fields,omitempty" yaml:"fields,omitempty"`
	} `json:"match,omitempty" yaml:"match,omitempty"`
	UI map[string]any `json:"ui,omitempty" yaml:"ui,omitempty"`
}

type Service

type Service interface {
	RefineRequestedSchema(rs *mcpschema.ElicitRequestParamsRequestedSchema)
}

Jump to

Keyboard shortcuts

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