Logo GenPRES

Fireworks Module

Types and nested modules

Type/Module Description

Chat

Completions

EndPoints

Extract

Operators

WithState

Model

Models

ResponseFormat

Functions and values

Function or value Description

apiKey

Full Usage: apiKey

Returns: string option
Returns: string option

chat input

Full Usage: chat input

Parameters:
Returns: Async<Result<Response<ChatResponse>, string>>
input : ChatInput
Returns: Async<Result<Response<ChatResponse>, string>>

chatJson input

Full Usage: chatJson input

Parameters:
Returns: Async<Result<Response<ChatResponse>, string>>
input : ChatInput
Returns: Async<Result<Response<ChatResponse>, string>>

completion input

Full Usage: completion input

Parameters:
Returns: Async<Result<Response<CompletionResponse>, string>>

list ()

Full Usage: list ()

Parameters:
    () : unit

Returns: string list
() : unit
Returns: string list

run model messages message

Full Usage: run model messages message

Parameters:
Returns: Message list
model : string
messages : Message list
message : Message
Returns: Message list

validate validator input

Full Usage: validate validator input

Parameters:
Returns: Async<Result<'ReturnType, string>>
Type parameters: 'ReturnType
validator : string -> Result<string, string>
input : ChatInput
Returns: Async<Result<'ReturnType, string>>

validate2 validator input

Full Usage: validate2 validator input

Parameters:
Returns: Async<Result<('ReturnType * ChatInput), (string * ChatInput)>>
Type parameters: 'ReturnType
validator : string -> Result<string, string>
input : ChatInput
Returns: Async<Result<('ReturnType * ChatInput), (string * ChatInput)>>

Type something to start searching.