openai-2.2.1: Servant bindings to OpenAI
Safe HaskellNone
LanguageHaskell2010

OpenAI.V1.Responses

Description

/v1/responses

Streaming is not implemented here; this covers JSON responses only.

Synopsis

Main types

data CreateResponse Source #

Request body for /v1/responses

Instances

Instances details
FromJSON CreateResponse Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON CreateResponse Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic CreateResponse Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep CreateResponse 
Instance details

Defined in OpenAI.V1.Responses

type Rep CreateResponse = D1 ('MetaData "CreateResponse" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CreateResponse" 'PrefixI 'True) (((S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Model) :*: (S1 ('MetaSel ('Just "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Input)) :*: S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Text))))) :*: ((S1 ('MetaSel ('Just "reasoning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Reasoning)) :*: S1 ('MetaSel ('Just "service_tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (AutoOr ServiceTier)))) :*: (S1 ('MetaSel ('Just "parallel_tool_calls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "store") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "instructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stream_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text Text))))) :*: ((S1 ('MetaSel ('Just "temperature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "top_p") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "tools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Tool))) :*: S1 ('MetaSel ('Just "tool_choice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ToolChoice)))))))
Show CreateResponse Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CreateResponse Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CreateResponse = D1 ('MetaData "CreateResponse" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CreateResponse" 'PrefixI 'True) (((S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Model) :*: (S1 ('MetaSel ('Just "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Input)) :*: S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Text))))) :*: ((S1 ('MetaSel ('Just "reasoning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Reasoning)) :*: S1 ('MetaSel ('Just "service_tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (AutoOr ServiceTier)))) :*: (S1 ('MetaSel ('Just "parallel_tool_calls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "store") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "instructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stream_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text Text))))) :*: ((S1 ('MetaSel ('Just "temperature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "top_p") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "tools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Tool))) :*: S1 ('MetaSel ('Just "tool_choice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ToolChoice)))))))

_CreateResponse :: CreateResponse Source #

Default CreateResponse

newtype Input Source #

Input for the Responses API: a list of input items

Constructors

Input (Vector InputItem) 

Instances

Instances details
FromJSON Input Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON Input Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic Input Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep Input 
Instance details

Defined in OpenAI.V1.Responses

type Rep Input = D1 ('MetaData "Input" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'True) (C1 ('MetaCons "Input" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector InputItem))))

Methods

from :: Input -> Rep Input x #

to :: Rep Input x -> Input #

Show Input Source # 
Instance details

Defined in OpenAI.V1.Responses

Methods

showsPrec :: Int -> Input -> ShowS #

show :: Input -> String #

showList :: [Input] -> ShowS #

type Rep Input Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep Input = D1 ('MetaData "Input" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'True) (C1 ('MetaCons "Input" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector InputItem))))

data InputItem Source #

An input item

Instances

Instances details
FromJSON InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep InputItem 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputItem = D1 ('MetaData "InputItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Item_Input_Message" 'PrefixI 'True) (S1 ('MetaSel ('Just "role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputRole) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector InputContent)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "Item_Input_Function_Call" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))) :+: (C1 ('MetaCons "Item_Input_Function_Call_Output" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: (C1 ('MetaCons "Item_Input_Reasoning" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reasoning_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reasoning_encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reasoning_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "reasoning_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "reasoning_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: C1 ('MetaCons "Item_Input_Item_Reference" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))
Show InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputItem = D1 ('MetaData "InputItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Item_Input_Message" 'PrefixI 'True) (S1 ('MetaSel ('Just "role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputRole) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector InputContent)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "Item_Input_Function_Call" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))) :+: (C1 ('MetaCons "Item_Input_Function_Call_Output" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: (C1 ('MetaCons "Item_Input_Reasoning" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reasoning_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reasoning_encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reasoning_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "reasoning_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "reasoning_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: C1 ('MetaCons "Item_Input_Item_Reference" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))

data InputRole Source #

Role of an input message

Constructors

User 
System 
Developer 

Instances

Instances details
FromJSON InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep InputRole 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputRole = D1 ('MetaData "InputRole" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "User" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "System" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Developer" 'PrefixI 'False) (U1 :: Type -> Type)))
Show InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputRole Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputRole = D1 ('MetaData "InputRole" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "User" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "System" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Developer" 'PrefixI 'False) (U1 :: Type -> Type)))

data InputContent Source #

Content parts for input messages

Instances

Instances details
FromJSON InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

Show InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

data OutputItem Source #

A generated output item.

Instances

Instances details
FromJSON OutputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON OutputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic OutputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep OutputItem 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputItem = D1 ('MetaData "OutputItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Item_OutputMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "message_role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "message_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputContent)) :*: S1 ('MetaSel ('Just "message_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "Item_FunctionToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "function_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "function_call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "function_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "function_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "function_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: C1 ('MetaCons "Item_WebSearchToolCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "web_search_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "web_search_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "web_search_action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebSearchAction)))))) :+: ((C1 ('MetaCons "Item_FunctionToolCallOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "function_output_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "function_output_call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "function_output_output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "function_output_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "Item_FileSearchToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "file_search_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "file_search_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "file_search_queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Text)) :*: S1 ('MetaSel ('Just "file_search_results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector FileSearchResult)))))) :+: (C1 ('MetaCons "Item_CodeInterpreterToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "code_interpreter_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "code_interpreter_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "code_interpreter_container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "code_interpreter_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code_interpreter_outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector CodeInterpreterOutput)))))) :+: C1 ('MetaCons "Item_Reasoning" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reasoning_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reasoning_encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reasoning_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "reasoning_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "reasoning_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))))
Show OutputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputItem = D1 ('MetaData "OutputItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Item_OutputMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "message_role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "message_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputContent)) :*: S1 ('MetaSel ('Just "message_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "Item_FunctionToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "function_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "function_call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "function_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "function_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "function_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: C1 ('MetaCons "Item_WebSearchToolCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "web_search_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "web_search_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "web_search_action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebSearchAction)))))) :+: ((C1 ('MetaCons "Item_FunctionToolCallOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "function_output_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "function_output_call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "function_output_output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "function_output_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "Item_FileSearchToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "file_search_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "file_search_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "file_search_queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Text)) :*: S1 ('MetaSel ('Just "file_search_results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector FileSearchResult)))))) :+: (C1 ('MetaCons "Item_CodeInterpreterToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "code_interpreter_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "code_interpreter_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "code_interpreter_container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "code_interpreter_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code_interpreter_outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector CodeInterpreterOutput)))))) :+: C1 ('MetaCons "Item_Reasoning" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reasoning_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reasoning_encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reasoning_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "reasoning_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "reasoning_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))))

data OutputMessage Source #

An output message item

Constructors

OutputMessage 

Fields

Instances

Instances details
FromJSON OutputMessage Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON OutputMessage Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic OutputMessage Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep OutputMessage 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputMessage = D1 ('MetaData "OutputMessage" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "OutputMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputContent)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))
Show OutputMessage Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputMessage Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputMessage = D1 ('MetaData "OutputMessage" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "OutputMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputContent)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data OutputContent Source #

Output content from the model

Constructors

Output_Text 

Fields

Refusal 

Fields

Instances

Instances details
FromJSON OutputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON OutputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic OutputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep OutputContent 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputContent = D1 ('MetaData "OutputContent" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Output_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "annotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Value)) :*: S1 ('MetaSel ('Just "logprobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Value))))) :+: C1 ('MetaCons "Refusal" 'PrefixI 'True) (S1 ('MetaSel ('Just "refusal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show OutputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputContent Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputContent = D1 ('MetaData "OutputContent" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Output_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "annotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Value)) :*: S1 ('MetaSel ('Just "logprobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Value))))) :+: C1 ('MetaCons "Refusal" 'PrefixI 'True) (S1 ('MetaSel ('Just "refusal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data FunctionToolCall Source #

Function tool call output item

Constructors

FunctionToolCall 

Instances

Instances details
FromJSON FunctionToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON FunctionToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic FunctionToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep FunctionToolCall 
Instance details

Defined in OpenAI.V1.Responses

Show FunctionToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FunctionToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

data FunctionToolCallOutput Source #

Function tool call output item

Constructors

FunctionToolCallOutput 

Fields

Instances

Instances details
FromJSON FunctionToolCallOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON FunctionToolCallOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic FunctionToolCallOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep FunctionToolCallOutput 
Instance details

Defined in OpenAI.V1.Responses

type Rep FunctionToolCallOutput = D1 ('MetaData "FunctionToolCallOutput" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FunctionToolCallOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))
Show FunctionToolCallOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FunctionToolCallOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FunctionToolCallOutput = D1 ('MetaData "FunctionToolCallOutput" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FunctionToolCallOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "call_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

data WebSearchToolCall Source #

Web search tool call output item (action is left generic for now)

Instances

Instances details
FromJSON WebSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON WebSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic WebSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep WebSearchToolCall 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchToolCall = D1 ('MetaData "WebSearchToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchToolCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebSearchAction)))))
Show WebSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchToolCall = D1 ('MetaData "WebSearchToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchToolCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebSearchAction)))))

data FileSearchToolCall Source #

File search tool call output item

Constructors

FileSearchToolCall 

Fields

Instances

Instances details
FromJSON FileSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON FileSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic FileSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep FileSearchToolCall 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchToolCall = D1 ('MetaData "FileSearchToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FileSearchToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Text)) :*: S1 ('MetaSel ('Just "results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector FileSearchResult))))))
Show FileSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchToolCall = D1 ('MetaData "FileSearchToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FileSearchToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Text)) :*: S1 ('MetaSel ('Just "results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector FileSearchResult))))))

data FileSearchResult Source #

File search result entry

Constructors

FileSearchResult 

Instances

Instances details
FromJSON FileSearchResult Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON FileSearchResult Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic FileSearchResult Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep FileSearchResult 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchResult = D1 ('MetaData "FileSearchResult" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FileSearchResult" 'PrefixI 'True) ((S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)))))
Show FileSearchResult Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchResult Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep FileSearchResult = D1 ('MetaData "FileSearchResult" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "FileSearchResult" 'PrefixI 'True) ((S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)))))

data CodeInterpreterToolCall Source #

Code interpreter tool call output item

Instances

Instances details
FromJSON CodeInterpreterToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON CodeInterpreterToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic CodeInterpreterToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep CodeInterpreterToolCall 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterToolCall = D1 ('MetaData "CodeInterpreterToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CodeInterpreterToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector CodeInterpreterOutput)))))))
Show CodeInterpreterToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterToolCall Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterToolCall = D1 ('MetaData "CodeInterpreterToolCall" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CodeInterpreterToolCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector CodeInterpreterOutput)))))))

data CodeInterpreterOutput Source #

Code interpreter tool call outputs

Instances

Instances details
FromJSON CodeInterpreterOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON CodeInterpreterOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic CodeInterpreterOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep CodeInterpreterOutput 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterOutput = D1 ('MetaData "CodeInterpreterOutput" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CodeInterpreterOutput_Logs" 'PrefixI 'True) (S1 ('MetaSel ('Just "logs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "CodeInterpreterOutput_Image" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show CodeInterpreterOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterOutput Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep CodeInterpreterOutput = D1 ('MetaData "CodeInterpreterOutput" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "CodeInterpreterOutput_Logs" 'PrefixI 'True) (S1 ('MetaSel ('Just "logs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "CodeInterpreterOutput_Image" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data WebSearchAction Source #

Web search action

Instances

Instances details
FromJSON WebSearchAction Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON WebSearchAction Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic WebSearchAction Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep WebSearchAction 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchAction = D1 ('MetaData "WebSearchAction" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchAction_Search" 'PrefixI 'True) (S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector WebSearchSource)))) :+: (C1 ('MetaCons "WebSearchAction_Open_Page" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :+: C1 ('MetaCons "WebSearchAction_Find" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))
Show WebSearchAction Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchAction Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchAction = D1 ('MetaData "WebSearchAction" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchAction_Search" 'PrefixI 'True) (S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector WebSearchSource)))) :+: (C1 ('MetaCons "WebSearchAction_Open_Page" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :+: C1 ('MetaCons "WebSearchAction_Find" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

data WebSearchSource Source #

Web search action sources

Constructors

WebSearchSource_URL 

Fields

Instances

Instances details
FromJSON WebSearchSource Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON WebSearchSource Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic WebSearchSource Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep WebSearchSource 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchSource = D1 ('MetaData "WebSearchSource" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchSource_URL" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show WebSearchSource Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchSource Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep WebSearchSource = D1 ('MetaData "WebSearchSource" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "WebSearchSource_URL" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Annotation Source #

Output text annotation

Instances

Instances details
FromJSON Annotation Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON Annotation Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic Annotation Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep Annotation 
Instance details

Defined in OpenAI.V1.Responses

type Rep Annotation = D1 ('MetaData "Annotation" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Annotation_File_Citation" 'PrefixI 'True) (S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "Annotation_Url_Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "start_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "end_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "Annotation_Container_File_Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "start_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "end_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: C1 ('MetaCons "Annotation_File_Path" 'PrefixI 'True) (S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))
Show Annotation Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep Annotation Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep Annotation = D1 ('MetaData "Annotation" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "Annotation_File_Citation" 'PrefixI 'True) (S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "Annotation_Url_Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "start_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "end_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "Annotation_Container_File_Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "container_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "start_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "end_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: C1 ('MetaCons "Annotation_File_Path" 'PrefixI 'True) (S1 ('MetaSel ('Just "file_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))

data ReasoningSummary Source #

Reasoning summary verbosity options.

Note: the ReasoningSummary_Concise option is only supported for `computer-use-preview` models.

Instances

Instances details
FromJSON ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ReasoningSummary 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningSummary = D1 ('MetaData "ReasoningSummary" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ReasoningSummary_Auto" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReasoningSummary_Concise" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningSummary_Detailed" 'PrefixI 'False) (U1 :: Type -> Type)))
Show ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningSummary Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningSummary = D1 ('MetaData "ReasoningSummary" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ReasoningSummary_Auto" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReasoningSummary_Concise" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningSummary_Detailed" 'PrefixI 'False) (U1 :: Type -> Type)))

data Reasoning Source #

Configuration options for reasoning models (`gpt-5` and o-series only).

Constructors

Reasoning 

Fields

Instances

Instances details
FromJSON Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep Reasoning 
Instance details

Defined in OpenAI.V1.Responses

type Rep Reasoning = D1 ('MetaData "Reasoning" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Reasoning" 'PrefixI 'True) (S1 ('MetaSel ('Just "effort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningEffort)) :*: (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningSummary)) :*: S1 ('MetaSel ('Just "generate_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningSummary)))))
Show Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep Reasoning Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep Reasoning = D1 ('MetaData "Reasoning" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Reasoning" 'PrefixI 'True) (S1 ('MetaSel ('Just "effort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningEffort)) :*: (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningSummary)) :*: S1 ('MetaSel ('Just "generate_summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReasoningSummary)))))

_Reasoning :: Reasoning Source #

Default reasoning configuration

data ReasoningItem Source #

Reasoning item produced by reasoning models

Constructors

ReasoningItem 

Instances

Instances details
FromJSON ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ReasoningItem 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningItem = D1 ('MetaData "ReasoningItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ReasoningItem" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))
Show ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningItem Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningItem = D1 ('MetaData "ReasoningItem" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ReasoningItem" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "encrypted_content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector SummaryPart))) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector ReasoningText))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))

data SummaryPart Source #

Reasoning summary part

Constructors

Summary_Text 

Fields

Instances

Instances details
FromJSON SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep SummaryPart 
Instance details

Defined in OpenAI.V1.Responses

type Rep SummaryPart = D1 ('MetaData "SummaryPart" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Summary_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep SummaryPart Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep SummaryPart = D1 ('MetaData "SummaryPart" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Summary_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data ReasoningText Source #

Reasoning text part

Constructors

Reasoning_Text 

Fields

Instances

Instances details
FromJSON ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ReasoningText 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningText = D1 ('MetaData "ReasoningText" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Reasoning_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningText Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningText = D1 ('MetaData "ReasoningText" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "Reasoning_Text" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data ReasoningEffort Source #

Constrains effort on reasoning for reasoning models.

Defaults to ReasoningEffort_Medium when omitted. Reducing the effort can result in faster responses with fewer reasoning tokens. The `gpt-5-pro` model currently only supports ReasoningEffort_High.

Instances

Instances details
FromJSON ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ReasoningEffort 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningEffort = D1 ('MetaData "ReasoningEffort" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "ReasoningEffort_Minimal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningEffort_Low" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ReasoningEffort_Medium" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningEffort_High" 'PrefixI 'False) (U1 :: Type -> Type)))
Show ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

Eq ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningEffort Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ReasoningEffort = D1 ('MetaData "ReasoningEffort" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((C1 ('MetaCons "ReasoningEffort_Minimal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningEffort_Low" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ReasoningEffort_Medium" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReasoningEffort_High" 'PrefixI 'False) (U1 :: Type -> Type)))

type ServiceTier = Text Source #

Specifies the processing tier used for the request

data ResponseStreamEvent Source #

Streaming events for /v1/responses

Constructors

ResponseCreatedEvent 
ResponseInProgressEvent 
ResponseCompletedEvent 
ResponseFailedEvent 
ResponseOutputItemAddedEvent 
ResponseOutputItemDoneEvent 
ResponseContentPartAddedEvent 
ResponseContentPartDoneEvent 
ResponseTextDeltaEvent 
ResponseTextDoneEvent 
ResponseOutputTextAnnotationAddedEvent 
ResponseWebSearchCallInProgressEvent 
ResponseWebSearchCallSearchingEvent 
ResponseWebSearchCallCompletedEvent 
ResponseFileSearchCallInProgressEvent 
ResponseFileSearchCallSearchingEvent 
ResponseFileSearchCallCompletedEvent 
ResponseCodeInterpreterCallInProgressEvent 
ResponseCodeInterpreterCallInterpretingEvent 
ResponseCodeInterpreterCallCompletedEvent 
ResponseCodeInterpreterCallCodeDeltaEvent 
ResponseCodeInterpreterCallCodeDoneEvent 
ErrorEvent 

Instances

Instances details
FromJSON ResponseStreamEvent Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ResponseStreamEvent Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ResponseStreamEvent Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ResponseStreamEvent 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseStreamEvent = D1 ('MetaData "ResponseStreamEvent" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((((C1 ('MetaCons "ResponseCreatedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: C1 ('MetaCons "ResponseInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: (C1 ('MetaCons "ResponseFailedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: C1 ('MetaCons "ResponseOutputItemAddedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputItem) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: ((C1 ('MetaCons "ResponseOutputItemDoneEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: (C1 ('MetaCons "ResponseContentPartAddedEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "part") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputContent) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: C1 ('MetaCons "ResponseContentPartDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "part") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputContent) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: (C1 ('MetaCons "ResponseTextDeltaEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: (C1 ('MetaCons "ResponseTextDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: C1 ('MetaCons "ResponseOutputTextAnnotationAddedEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :*: (S1 ('MetaSel ('Just "annotation_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Annotation) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))))) :+: (((C1 ('MetaCons "ResponseWebSearchCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseWebSearchCallSearchingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseWebSearchCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))) :+: (C1 ('MetaCons "ResponseFileSearchCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseFileSearchCallSearchingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseFileSearchCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: ((C1 ('MetaCons "ResponseCodeInterpreterCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallInterpretingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseCodeInterpreterCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallCodeDeltaEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallCodeDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ErrorEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "error_param") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error_sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))))))
Show ResponseStreamEvent Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseStreamEvent Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseStreamEvent = D1 ('MetaData "ResponseStreamEvent" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) ((((C1 ('MetaCons "ResponseCreatedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: C1 ('MetaCons "ResponseInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: (C1 ('MetaCons "ResponseFailedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResponseObject) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: C1 ('MetaCons "ResponseOutputItemAddedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputItem) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: ((C1 ('MetaCons "ResponseOutputItemDoneEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :+: (C1 ('MetaCons "ResponseContentPartAddedEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "part") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputContent) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: C1 ('MetaCons "ResponseContentPartDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "part") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputContent) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: (C1 ('MetaCons "ResponseTextDeltaEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: (C1 ('MetaCons "ResponseTextDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :+: C1 ('MetaCons "ResponseOutputTextAnnotationAddedEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "content_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :*: (S1 ('MetaSel ('Just "annotation_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Annotation) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))))) :+: (((C1 ('MetaCons "ResponseWebSearchCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseWebSearchCallSearchingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseWebSearchCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))) :+: (C1 ('MetaCons "ResponseFileSearchCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseFileSearchCallSearchingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseFileSearchCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))) :+: ((C1 ('MetaCons "ResponseCodeInterpreterCallInProgressEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallInterpretingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ResponseCodeInterpreterCallCompletedEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallCodeDeltaEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: (C1 ('MetaCons "ResponseCodeInterpreterCallCodeDoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "output_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "item_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) :+: C1 ('MetaCons "ErrorEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "error_param") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error_sequence_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))))))))

data ResponseObject Source #

Response object

Instances

Instances details
FromJSON ResponseObject Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ResponseObject Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ResponseObject Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ResponseObject 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseObject = D1 ('MetaData "ResponseObject" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ResponseObject" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "created_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))) :*: ((S1 ('MetaSel ('Just "incomplete_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "instructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Model))) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputItem)) :*: (S1 ('MetaSel ('Just "parallel_tool_calls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "previous_response_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "reasoning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Reasoning)) :*: S1 ('MetaSel ('Just "service_tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ServiceTier))) :*: (S1 ('MetaSel ('Just "store") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "temperature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "tool_choice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ToolChoice))))) :*: ((S1 ('MetaSel ('Just "tools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Tool))) :*: (S1 ('MetaSel ('Just "top_p") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "truncation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ResponseUsage)) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text Text)))))))))
Show ResponseObject Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseObject Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseObject = D1 ('MetaData "ResponseObject" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ResponseObject" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "created_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))) :*: ((S1 ('MetaSel ('Just "incomplete_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "instructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Model))) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector OutputItem)) :*: (S1 ('MetaSel ('Just "parallel_tool_calls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "previous_response_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "reasoning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Reasoning)) :*: S1 ('MetaSel ('Just "service_tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ServiceTier))) :*: (S1 ('MetaSel ('Just "store") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "temperature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "tool_choice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ToolChoice))))) :*: ((S1 ('MetaSel ('Just "tools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Vector Tool))) :*: (S1 ('MetaSel ('Just "top_p") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "truncation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ResponseUsage)) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text Text)))))))))

data ResponseUsage Source #

Usage statistics for the response request

Instances

Instances details
FromJSON ResponseUsage Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON ResponseUsage Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic ResponseUsage Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep ResponseUsage 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseUsage = D1 ('MetaData "ResponseUsage" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ResponseUsage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "input_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "input_tokens_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputTokensDetails)) :*: (S1 ('MetaSel ('Just "output_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "output_tokens_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputTokensDetails) :*: S1 ('MetaSel ('Just "total_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))
Show ResponseUsage Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseUsage Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep ResponseUsage = D1 ('MetaData "ResponseUsage" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "ResponseUsage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "input_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "input_tokens_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputTokensDetails)) :*: (S1 ('MetaSel ('Just "output_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "output_tokens_details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputTokensDetails) :*: S1 ('MetaSel ('Just "total_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))))

data InputTokensDetails Source #

Constructors

InputTokensDetails 

Instances

Instances details
FromJSON InputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON InputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic InputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep InputTokensDetails 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputTokensDetails = D1 ('MetaData "InputTokensDetails" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "InputTokensDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "cached_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
Show InputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep InputTokensDetails = D1 ('MetaData "InputTokensDetails" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "InputTokensDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "cached_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

data OutputTokensDetails Source #

Instances

Instances details
FromJSON OutputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

ToJSON OutputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

Generic OutputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

Associated Types

type Rep OutputTokensDetails 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputTokensDetails = D1 ('MetaData "OutputTokensDetails" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "OutputTokensDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "reasoning_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
Show OutputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputTokensDetails Source # 
Instance details

Defined in OpenAI.V1.Responses

type Rep OutputTokensDetails = D1 ('MetaData "OutputTokensDetails" "OpenAI.V1.Responses" "openai-2.2.1-FjXYHvgDuLi5dBzIG7AGPx" 'False) (C1 ('MetaCons "OutputTokensDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "reasoning_tokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

Constants

statusIncomplete :: Text Source #

Status constants for function call outputs

statusCompleted :: Text Source #

Status constants for function call outputs

Servant

type API = "responses" :> ((ReqBody '[JSON] CreateResponse :> Post '[JSON] ResponseObject) :<|> ((Capture "response_id" Text :> Get '[JSON] ResponseObject) :<|> ((Capture "response_id" Text :> ("cancel" :> Post '[JSON] ResponseObject)) :<|> (Capture "response_id" Text :> ("input_items" :> Get '[JSON] (ListOf InputItem)))))) Source #

Servant API for /v1/responses