mcpadapter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvaluateConversation

EvaluateConversation runs the conversation evaluation pipeline and returns the result.

func GetConversation

GetConversation retrieves the conversation evaluation record by ID.

func NewEvaluateConversationHandler

NewEvaluateConversationHandler returns a tool handler for conversation evaluation.

func NewGetConversationHandler

NewGetConversationHandler returns a tool handler for retrieving a conversation.

Types

type ConversationInput

type ConversationInput struct {
	ConversationID string `json:"conversation_id" jsonschema:"conversation identifier to retrieve"`
}

ConversationInput is the MCP tool input schema for retrieving a conversation.

type EvaluateConversationInput

type EvaluateConversationInput struct {
	ConversationID string      `json:"conversation_id" jsonschema:"required,unique conversation identifier"`
	AgentName      string      `json:"agent_name,omitempty" jsonschema:"optional name of the agent being evaluated"`
	AgentVersion   string      `json:"agent_version,omitempty" jsonschema:"optional version of the agent being evaluated"`
	Turns          []TurnInput `json:"turns" jsonschema:"required,all turns in the conversation"`
}

EvaluateConversationInput is the MCP tool input schema for conversation evaluation.

type TurnInput

type TurnInput struct {
	TurnIndex int    `json:"turn_index"`
	UserQuery string `json:"user_query"`
	Answer    string `json:"answer"`
	Context   string `json:"context,omitempty"`
}

TurnInput is a single conversation turn in EvaluateConversationInput.

Jump to

Keyboard shortcuts

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