Class: ActiveAgent::Providers::OpenAI::ResponsesProvider
- Inherits:
-
Base
- Object
- BaseProvider
- Base
- ActiveAgent::Providers::OpenAI::ResponsesProvider
- Includes:
- ToolChoiceClearing
- Defined in:
- lib/active_agent/providers/open_ai/responses_provider.rb
Overview
Provider implementation for OpenAI’s Responses API
Uses the responses endpoint for improved streaming and structured function calling compared to the chat completions endpoint.
Class Method Summary collapse
Methods included from ToolChoiceClearing
Methods inherited from Base
Methods inherited from BaseProvider
#embed, embed_request_type, #initialize, namespace, #preview, #prompt, service_name, tag_name
Methods included from Previewable
Methods included from Instrumentation
#instrumentation_prompt_payload
Methods included from ExceptionHandler
#configure_exception_handler, #rescue_with_handler, #with_exception_handling
Constructor Details
This class inherits a constructor from ActiveAgent::Providers::BaseProvider
Class Method Details
.options_klass ⇒ Class
19 20 21 |
# File 'lib/active_agent/providers/open_ai/responses_provider.rb', line 19 def self. Options end |
.prompt_request_type ⇒ Responses::RequestType
24 25 26 |
# File 'lib/active_agent/providers/open_ai/responses_provider.rb', line 24 def self.prompt_request_type Responses::RequestType.new end |