MCPcopy Create free account

hub / github.com/docker/model-test / types & classes

Types & classes42 in github.com/docker/model-test

↓ 1 callersTypeAliasChatRole
ChatRole represents the role of a message in a chat conversation
models/chat.go:8
StructAPIRequest
APIRequest represents the API request details
models/test_result.go:42
StructAPIResponse
APIResponse represents the API response details
models/test_result.go:50
StructActualToolCall
ActualToolCall represents the actual function call made by the model
models/test_case.go:53
StructAgentReport
AgentReport contains the results of an agent test suite
models/chat.go:108
StructAgentTestResult
AgentTestResult represents the result of testing the agent loop
models/chat.go:95
StructBatchAnalysisReport
BatchAnalysisReport represents the complete analysis report
cmd/analyze-batch/main.go:43
StructCartItem
CartItem represents an item in the shopping cart
models/chat.go:62
StructCartService
CartService handles shopping cart operations for different sessions
services/cart_service.go:11
StructCartSummary
CartSummary represents the current state of a shopping cart
models/chat.go:53
StructChatCompletionRequest
ChatCompletionRequest represents the request sent to OpenAI
models/test_case.go:59
StructChatMessage
ChatMessage represents a single message in a chat conversation
models/chat.go:17
StructChatResponse
ChatResponse represents the response from processing a chat message
models/chat.go:32
StructChatSession
ChatSession represents a conversation session with message history
models/chat.go:24
StructCheckoutResult
CheckoutResult represents the result of a checkout operation
models/chat.go:86
StructComparisonReport
ComparisonReport contains comparison data between models/configurations
models/test_result.go:58
StructExpectedToolCall
ExpectedToolCall represents the expected function call
models/test_case.go:32
StructExpectedToolPath
ExpectedToolPath represents one valid execution path
models/test_case.go:25
StructInitialCartItem
InitialCartItem represents an item in the initial cart state
models/test_case.go:19
StructInitialCartState
InitialCartState represents the initial state of the cart for a test
models/test_case.go:14
StructLogEntry
LogEntry represents a single request/response log entry
services/request_logger.go:18
StructLogRequest
LogRequest represents the request part of a log entry
services/request_logger.go:28
StructLogResponse
LogResponse represents the response part of a log entry
services/request_logger.go:35
StructMetricSet
MetricSet represents precision, recall, and F1 metrics
cmd/analyze-batch/main.go:20
StructModelAnalysis
ModelAnalysis represents the analysis results for a single model
cmd/analyze-batch/main.go:31
StructModelConfigPair
ModelConfigPair represents a model and configuration combination
models/test_result.go:35
StructModelFileInfo
ModelFileInfo holds files and their batch source for a model
cmd/analyze-batch/main.go:105
StructOpenAIService
OpenAIService handles interactions with the OpenAI API using an agent loop
services/openai_service.go:20
StructProduct
Product represents a product in the catalog
models/chat.go:77
StructProductFilter
ProductFilter represents search parameters for products
models/chat.go:70
StructProductService
ProductService handles product search and catalog operations
services/product_service.go:9
StructReport
models/test_result.go:63
StructRequestLogger
RequestLogger handles logging of HTTP requests and responses
services/request_logger.go:13
StructShoppingTools
ShoppingTools provides the shopping cart tool definitions and mock implementations
tools/shopping_tools.go:10
StructTestCase
TestCase represents a single test scenario
models/test_case.go:6
StructTestConfig
TestConfig holds configuration parameters for the test
models/test_case.go:38
StructTestExecution
TestExecution represents a single test execution
models/test_case.go:46
StructTestMetrics
TestMetrics contains all efficiency metrics for a test
models/test_result.go:21
StructTestResult
TestResult represents the result of a single test execution
models/test_result.go:8
StructTestRunner
TestRunner orchestrates the execution of test suites using the agent loop
services/test_runner.go:16
StructToolCallResult
ToolCallResult represents the result of executing a tool call
models/chat.go:43
StructToolExecutor
ToolExecutor handles the execution of tool calls
services/tool_executor.go:13