Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/model-test
/ types & classes
Types & classes
42 in github.com/docker/model-test
⨍
Functions
68
◇
Types & classes
42
↓ 1 callers
TypeAlias
ChatRole
ChatRole represents the role of a message in a chat conversation
models/chat.go:8
Struct
APIRequest
APIRequest represents the API request details
models/test_result.go:42
Struct
APIResponse
APIResponse represents the API response details
models/test_result.go:50
Struct
ActualToolCall
ActualToolCall represents the actual function call made by the model
models/test_case.go:53
Struct
AgentReport
AgentReport contains the results of an agent test suite
models/chat.go:108
Struct
AgentTestResult
AgentTestResult represents the result of testing the agent loop
models/chat.go:95
Struct
BatchAnalysisReport
BatchAnalysisReport represents the complete analysis report
cmd/analyze-batch/main.go:43
Struct
CartItem
CartItem represents an item in the shopping cart
models/chat.go:62
Struct
CartService
CartService handles shopping cart operations for different sessions
services/cart_service.go:11
Struct
CartSummary
CartSummary represents the current state of a shopping cart
models/chat.go:53
Struct
ChatCompletionRequest
ChatCompletionRequest represents the request sent to OpenAI
models/test_case.go:59
Struct
ChatMessage
ChatMessage represents a single message in a chat conversation
models/chat.go:17
Struct
ChatResponse
ChatResponse represents the response from processing a chat message
models/chat.go:32
Struct
ChatSession
ChatSession represents a conversation session with message history
models/chat.go:24
Struct
CheckoutResult
CheckoutResult represents the result of a checkout operation
models/chat.go:86
Struct
ComparisonReport
ComparisonReport contains comparison data between models/configurations
models/test_result.go:58
Struct
ExpectedToolCall
ExpectedToolCall represents the expected function call
models/test_case.go:32
Struct
ExpectedToolPath
ExpectedToolPath represents one valid execution path
models/test_case.go:25
Struct
InitialCartItem
InitialCartItem represents an item in the initial cart state
models/test_case.go:19
Struct
InitialCartState
InitialCartState represents the initial state of the cart for a test
models/test_case.go:14
Struct
LogEntry
LogEntry represents a single request/response log entry
services/request_logger.go:18
Struct
LogRequest
LogRequest represents the request part of a log entry
services/request_logger.go:28
Struct
LogResponse
LogResponse represents the response part of a log entry
services/request_logger.go:35
Struct
MetricSet
MetricSet represents precision, recall, and F1 metrics
cmd/analyze-batch/main.go:20
Struct
ModelAnalysis
ModelAnalysis represents the analysis results for a single model
cmd/analyze-batch/main.go:31
Struct
ModelConfigPair
ModelConfigPair represents a model and configuration combination
models/test_result.go:35
Struct
ModelFileInfo
ModelFileInfo holds files and their batch source for a model
cmd/analyze-batch/main.go:105
Struct
OpenAIService
OpenAIService handles interactions with the OpenAI API using an agent loop
services/openai_service.go:20
Struct
Product
Product represents a product in the catalog
models/chat.go:77
Struct
ProductFilter
ProductFilter represents search parameters for products
models/chat.go:70
Struct
ProductService
ProductService handles product search and catalog operations
services/product_service.go:9
Struct
Report
models/test_result.go:63
Struct
RequestLogger
RequestLogger handles logging of HTTP requests and responses
services/request_logger.go:13
Struct
ShoppingTools
ShoppingTools provides the shopping cart tool definitions and mock implementations
tools/shopping_tools.go:10
Struct
TestCase
TestCase represents a single test scenario
models/test_case.go:6
Struct
TestConfig
TestConfig holds configuration parameters for the test
models/test_case.go:38
Struct
TestExecution
TestExecution represents a single test execution
models/test_case.go:46
Struct
TestMetrics
TestMetrics contains all efficiency metrics for a test
models/test_result.go:21
Struct
TestResult
TestResult represents the result of a single test execution
models/test_result.go:8
Struct
TestRunner
TestRunner orchestrates the execution of test suites using the agent loop
services/test_runner.go:16
Struct
ToolCallResult
ToolCallResult represents the result of executing a tool call
models/chat.go:43
Struct
ToolExecutor
ToolExecutor handles the execution of tool calls
services/tool_executor.go:13