langchain.js
    Preparing search index...

    TogetherAI chat model integration.

    The TogetherAI API is compatible to the OpenAI API with some limitations. View the full API ref at:

    Hierarchy

    Index

    Constructors

    • Parameters

      • Optionalfields: any

      Returns ChatTogetherAI

    Properties

    lc_serializable: boolean = true

    Accessors

    • get lc_secrets(): undefined | { [key: string]: string }

      Returns undefined | { [key: string]: string }

    Methods

    • Returns string

    • Parameters

      • request: ChatCompletionCreateParamsStreaming
      • Optionaloptions: RequestOptions

      Returns Promise<AsyncIterable<ChatCompletionChunk, any, any>>

    • Parameters

      • request: ChatCompletionCreateParamsNonStreaming
      • Optionaloptions: RequestOptions

      Returns Promise<ChatCompletion>

    • Parameters

      • options: unknown

      Returns LangSmithParams

    • Returns any

    • Returns string