Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition[Dependencies any] struct { Name string Title string Instructions string Features Features Parameters []Parameter DependenciesProvider DependenciesProvider[Dependencies] ToolsProvider ToolsProvider[Dependencies] }
type DependenciesProvider ¶ added in v0.5.1
type DependenciesProvider[Dependencies any] = publictypes.DependenciesProvider[Dependencies]
type DependenciesProviderResources ¶ added in v0.5.1
type DependenciesProviderResources = publictypes.DependenciesProviderResources
type Features ¶ added in v0.5.1
type Features = publictypes.Features
type HandlerForToolWithUnstructuredContentOutput ¶
type HandlerForToolWithUnstructuredContentOutput[ToolInput any] func(ctx context.Context, request pkgtools.CallRequest, inputs ToolInput) (pkgtools.RichContent, i18n.Error)
type MATLABFeature ¶ added in v0.5.1
type MATLABFeature = publictypes.MATLABFeature
type Parameter ¶ added in v0.5.1
type Parameter = publictypes.Parameter
type Server ¶
type Server = publictypes.Server
func New ¶
func New[Dependencies any](thisDefinition Definition[Dependencies]) Server
type Tool ¶
type Tool = publictypes.Tool
func NewToolWithStructuredContentOutput ¶
func NewToolWithStructuredContentOutput[ToolInput, ToolOutput any](definition pkgtools.Definition, handler HandlerForToolWithStructuredContentOutput[ToolInput, ToolOutput]) Tool
func NewToolWithUnstructuredContentOutput ¶
func NewToolWithUnstructuredContentOutput[ToolInput any](definition pkgtools.Definition, handler HandlerForToolWithUnstructuredContentOutput[ToolInput]) Tool
type ToolsProvider ¶ added in v0.5.1
type ToolsProvider[Dependencies any] = publictypes.ToolsProvider[Dependencies]
type ToolsProviderResources ¶ added in v0.5.1
type ToolsProviderResources[Dependencies any] = publictypes.ToolsProviderResources[Dependencies]
Click to show internal directories.
Click to hide internal directories.