OpenaiChatCompletionRequestSpecification
Represents the specification for an OpenAI chat completion request.
Extends ModelRequestSpecification specifically for configuring and validating parameters related to ChatCompletionRequest objects. This includes overriding methods to add matchers for specific conditions such as ensuring messages from the system or user contain specified substrings.
Author
Konstantin Pavlov
See also
Constructors
Functions
Adds a matcher to verify that the request includes a tool with the specified function name.
Sets the seed value for deterministic behavior in chat completions.
Adds a matcher to verify that a tool's function has a parameter with the specified name.
Adds a matcher to verify that a tool's function has a parameter with the specified name and description.
Adds a matcher to verify that a tool's function parameter has the specified type.
Adds a matcher to verify that a tool's function requires specific parameters.