package openai
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class ChatCompletionResponse(id: String, object: String, created: String, model: String, choices: Seq[OpenAIChatChoice], system_fingerprint: Option[String], usage: Option[OpenAIUsage]) extends Product with Serializable
- case class CompletionResponse(id: String, object: String, created: String, model: String, choices: Seq[OpenAIChoice]) extends Product with Serializable
- class DelimiterParser extends OutputParser
- case class EmbeddingObject(object: String, embedding: Array[Double], index: Int) extends Product with Serializable
- case class EmbeddingResponse(object: String, data: Seq[EmbeddingObject], model: String) extends Product with Serializable
- trait HasMessagesInput extends Params
- trait HasOpenAIEmbeddingParams extends HasOpenAISharedParams with HasAPIVersion
- trait HasOpenAISharedParams extends HasServiceParams with HasAPIVersion
- trait HasOpenAITextParams extends HasOpenAISharedParams
- trait HasOpenAITextParamsExtended extends HasOpenAITextParams
- trait HasPromptInputs extends HasServiceParams
- class JsonParser extends OutputParser
- case class OpenAIChatChoice(message: OpenAIMessage, index: Long, finish_reason: String) extends Product with Serializable
- class OpenAIChatCompletion extends OpenAIServicesBase with HasOpenAITextParamsExtended with HasMessagesInput with HasCognitiveServiceInput with HasInternalJsonOutputParser with SynapseMLLogging
- case class OpenAIChoice(text: String, index: Long, logprobs: Option[OpenAILogProbs], finish_reason: String) extends Product with Serializable
- class OpenAICompletion extends OpenAIServicesBase with HasOpenAITextParams with HasPromptInputs with HasCognitiveServiceInput with HasInternalJsonOutputParser with SynapseMLLogging
- class OpenAIEmbedding extends OpenAIServicesBase with HasOpenAIEmbeddingParams with HasCognitiveServiceInput with SynapseMLLogging
- case class OpenAILogProbs(tokens: Seq[String], token_logprobs: Seq[Double], top_logprobs: Seq[Map[String, Double]], text_offset: Seq[Long]) extends Product with Serializable
- case class OpenAIMessage(role: String, content: String, name: Option[String] = None) extends Product with Serializable
- class OpenAIPrompt extends Transformer with HasOpenAITextParamsExtended with HasMessagesInput with HasErrorCol with HasOutputCol with HasURL with HasCustomCogServiceDomain with ConcurrencyParams with HasSubscriptionKey with HasAADToken with HasCustomAuthHeader with HasCognitiveServiceInput with ComplexParamsWritable with SynapseMLLogging with HasGlobalParams
- abstract class OpenAIServicesBase extends CognitiveServicesBase with HasOpenAISharedParams with OpenAIFabricSetting
- case class OpenAIUsage(completion_tokens: Long, prompt_tokens: Long, total_tokens: Long) extends Product with Serializable
- trait OutputParser extends AnyRef
- class PassThroughParser extends OutputParser
- class RegexParser extends OutputParser
Value Members
- object ChatCompletionResponse extends SparkBindings[ChatCompletionResponse]
- object CompletionResponse extends SparkBindings[CompletionResponse]
- object EmbeddingResponse extends SparkBindings[EmbeddingResponse]
- object OpenAIChatCompletion extends ComplexParamsReadable[OpenAIChatCompletion] with Serializable
- object OpenAICompletion extends ComplexParamsReadable[OpenAICompletion] with Serializable
- object OpenAIDefaults
- object OpenAIDeploymentNameKey extends GlobalKey[Either[String, String]] with Product with Serializable
- object OpenAIEmbedding extends ComplexParamsReadable[OpenAIEmbedding] with Serializable
- object OpenAIJsonProtocol extends DefaultJsonProtocol
- object OpenAIPrompt extends ComplexParamsReadable[OpenAIPrompt] with Serializable
- object OpenAIResponseFormat extends Enumeration
- object OpenAITemperatureKey extends GlobalKey[Either[Double, String]] with Product with Serializable