pub struct OpenAIResponsesExt { /* private fields */ }Trait Implementations§
Source§impl<H> Capabilities<H> for OpenAIResponsesExt
impl<H> Capabilities<H> for OpenAIResponsesExt
Source§type Completion = Capable<GenericResponsesCompletionModel<OpenAIResponsesExt, H>>
type Completion = Capable<GenericResponsesCompletionModel<OpenAIResponsesExt, H>>
Completion model capability marker.
Source§type Embeddings = Capable<GenericEmbeddingModel<OpenAIResponsesExt, H>>
type Embeddings = Capable<GenericEmbeddingModel<OpenAIResponsesExt, H>>
Embedding model capability marker.
Source§type Transcription = Capable<OpenAiTranscriptionModel<Client<OpenAIResponsesExt, H>>>
type Transcription = Capable<OpenAiTranscriptionModel<Client<OpenAIResponsesExt, H>>>
Audio transcription model capability marker.
Source§type ModelListing = Capable<OpenAIModelLister<H>>
type ModelListing = Capable<OpenAIModelLister<H>>
Model listing capability marker.
Source§type ImageGeneration = Capable<GenericImageGenerationModel<OpenAIResponsesExt, H>>
type ImageGeneration = Capable<GenericImageGenerationModel<OpenAIResponsesExt, H>>
Available on crate feature
image only.Image generation model capability marker.
Source§type AudioGeneration = Capable<GenericAudioGenerationModel<OpenAIResponsesExt, H>>
type AudioGeneration = Capable<GenericAudioGenerationModel<OpenAIResponsesExt, H>>
Available on crate feature
audio only.Audio generation model capability marker.
Source§impl Clone for OpenAIResponsesExt
impl Clone for OpenAIResponsesExt
Source§fn clone(&self) -> OpenAIResponsesExt
fn clone(&self) -> OpenAIResponsesExt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenAIResponsesExt
Source§impl Debug for OpenAIResponsesExt
impl Debug for OpenAIResponsesExt
Source§impl DebugExt for OpenAIResponsesExt
impl DebugExt for OpenAIResponsesExt
Source§impl Default for OpenAIResponsesExt
impl Default for OpenAIResponsesExt
Source§fn default() -> OpenAIResponsesExt
fn default() -> OpenAIResponsesExt
Returns the “default value” for a type. Read more
Source§impl Provider for OpenAIResponsesExt
impl Provider for OpenAIResponsesExt
Source§const VERIFY_PATH: &'static str = "/models"
const VERIFY_PATH: &'static str = "/models"
Provider endpoint used by
VerifyClient to validate credentials.Source§type Builder = OpenAIResponsesExtBuilder
type Builder = OpenAIResponsesExtBuilder
The builder type that constructs this provider extension.
This associates extensions with their builders for type inference.
Source§impl ResponsesProviderExt for OpenAIResponsesExt
impl ResponsesProviderExt for OpenAIResponsesExt
Source§fn system_instructions_placement(&self) -> SystemInstructionsPlacement
fn system_instructions_placement(&self) -> SystemInstructionsPlacement
Where Rig system instructions are placed in requests built from this
provider. See
SystemInstructionsPlacement. Read moreSource§const PROVIDER_NAME: &'static str = "openai"
const PROVIDER_NAME: &'static str = "openai"
Stable descriptor name recorded on
gen_ai.provider.name telemetry
spans and on every normalized response produced through this extension. Read moreSource§const REQUEST_ID_HEADER: Option<&'static str> = _
const REQUEST_ID_HEADER: Option<&'static str> = _
Response header carrying the provider’s transport request id, when the
provider reports one. Defaults to OpenAI’s
x-request-id because this
wire format is OpenAI’s; a backend that omits the header simply yields
None, never an error.Source§const RESPONSES_PATH: &'static str = "/responses"
const RESPONSES_PATH: &'static str = "/responses"
Relative path of the provider’s Responses endpoint.
Source§const EMITS_COMPLETE_TOOL_CALLS_IMMEDIATELY: bool = false
const EMITS_COMPLETE_TOOL_CALLS_IMMEDIATELY: bool = false
Whether a complete function call should be emitted as soon as its
output_item.done event arrives instead of waiting for the terminal
response event.Source§const USES_2XX_ERROR_ENVELOPE: bool = false
const USES_2XX_ERROR_ENVELOPE: bool = false
Whether a successful HTTP response can carry the provider’s error
envelope instead of a Responses payload.
Source§const COMPOSES_NATIVE_OUTPUT_WITH_TOOLS: bool = true
const COMPOSES_NATIVE_OUTPUT_WITH_TOOLS: bool = true
Whether native structured output composes with provider tool calls.
Auto Trait Implementations§
impl Freeze for OpenAIResponsesExt
impl RefUnwindSafe for OpenAIResponsesExt
impl Send for OpenAIResponsesExt
impl Sync for OpenAIResponsesExt
impl Unpin for OpenAIResponsesExt
impl UnsafeUnpin for OpenAIResponsesExt
impl UnwindSafe for OpenAIResponsesExt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more