DexaDexa ↗Dexa ↗ (opens in a new tab)Contact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Home
    • Install
    • Usage
    • Caching
    • Examples
    • API Reference
        • Readme
          • Doc
          • Events
          • Opts
          • OptsHybrid
          • Query
          • QueryResult
          • ScoredDoc
          • BaseFilter
          • BaseMeta
          • Ctx
          • Datastore
          • Provider
          • Type
        • Readme
          • Events
          • ITokenizer
            • Readme
              • Config
              • Params
              • Response
              • Run
              • Client
              • Model
            • Readme
              • Config
              • Response
              • Run
              • ApiResponse
              • Client
              • CompletionChunk
              • Model
            • Readme
              • Config
              • Response
              • Run
              • ApiResponse
              • Client
              • Model
            • Readme
              • BatchOptions
              • Config
              • Response
              • Run
              • ApiResponse
              • Client
              • Model
            • Readme
              • Config
              • Response
              • Run
              • Client
              • Model
              • Vector
          • Ctx
          • Message
          • Provider
          • Type
        • Readme
          • AIFunction
          • AIFunctionSpec
          • Msg
          • Aifunction
            • Readme
                • Readme
                  • Function
                  • Tool
              • Assistant
              • FuncCall
              • FuncResult
              • Role
              • System
              • ToolCall
              • ToolResult
              • User
          • Chain
          • Template
          • Validator
      • AbstractDatastore
      • AbstractHybridDatastore
      • AbstractModel
      • ChatModel
      • CompletionModel
      • EmbeddingModel
      • Msg
      • PineconeDatastore
      • PineconeHybridDatastore
      • SparseVectorModel
      • VectorUtils
      • Modelargs
      • calculateCost
      • createAIFunction
      • createOpenAIClient
      • createPineconeClient
      • createTokenizer
      • deepMerge
      • defaultCacheKey
      • extractJsonObject
      • extractZodObject
      • omit
      • pick
      • zodToJsonSchema
      • Createaifunction
      • Createopenaiclient
      • CacheKey
      • CacheStorage
      • ChatModelArgs
      • CompletionModelArgs
      • EmbeddingModelArgs
      • Prettify
      • SparseVectorModelArgs
  • Project
  • FAQ
  • License
  • Links
  • Contact ↗ (opens in a new tab)
  • Dexa ↗ (opens in a new tab)

On This Page

  • Source
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
Documentation
Namespaces
Model
type-aliases
Type

Type alias: Type

Type: string & object | "base" | "completion" | "chat" | "embedding" | "sparse-vector"

The type of data returned by the model

Source

src/model/types.ts:253 (opens in a new tab)

ProviderReadme