Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

Model Config 構造

models 配下の各項目は、レコードのリストの一部であり、ブール値またはオブジェクトのいずれかです。

モデルをオブジェクトとして指定する場合:

オブジェクトを使用すると、deploymentNameversion を含め、モデルの詳細な設定が可能になります。このモードは、特に単一のインスタンスやリソースグループの下で複数のバージョンやデプロイメントを扱う際に、モデルをより細かく制御するために使用されます。

:

models:
  gpt-4-vision-preview:
    deploymentName: "gpt-4-vision-preview"
    version: "2024-02-15-preview"

注記:

  • Deployment NamesVersions は、正しいモデルが使用されることを保証するために不可欠です。
    • 予期せぬ動作を防ぐため、これらの値が正確であることを再確認してください。

deploymentName

キー:

KeyTypeDescriptionExample
deploymentNameStringAzure内でのモデルのデプロイを識別する、モデルのデプロイ名。This does not have to be the matching OpenAI model name as is convention, but must match the actual name of your deployment on Azure.

必須: はい

例:

deploymentName: "gpt-4-vision-preview"

version

キー:

KeyTypeDescriptionExample
versionStringモデルのバージョンを指定します。使用するモデルのバージョンを定義します。

必須: はい

例:

version: "2024-02-15-preview"

デフォルトグループ設定でモデルを有効にする

キー:

KeyTypeDescriptionExample
modelsBooleanデフォルトのグループ設定でモデルを有効にします。When a model is enabled (`true`) without using an object, it uses the group's configuration values for deployment name and version.

例:

models:
  gpt-4-turbo: true

このガイドはいかがでしたか?