From 27013d47d7eef4f41220c2bed2b1b89fd0493d5d Mon Sep 17 00:00:00 2001 From: kbreese-x Date: Fri, 4 Oct 2024 19:05:18 -0700 Subject: [PATCH] update docs and schema --- docs/docs/customize/model-types/embeddings.md | 4 ---- .../src/main/resources/config_schema.json | 22 +++---------------- extensions/vscode/config_schema.json | 22 +++---------------- 3 files changed, 6 insertions(+), 42 deletions(-) diff --git a/docs/docs/customize/model-types/embeddings.md b/docs/docs/customize/model-types/embeddings.md index d4d062854..c32468967 100644 --- a/docs/docs/customize/model-types/embeddings.md +++ b/docs/docs/customize/model-types/embeddings.md @@ -69,7 +69,3 @@ See [here](../model-providers/more/cohere.md#embeddings-model) for instructions ### Gemini See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings. - -### Amazon - -You can use either [Bedrock](../model-providers/top-level/bedrock.md#embeddings-model) or [SageMaker](../model-providers/more/sagemaker.md) for generating embeddings. \ No newline at end of file diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index 4bb201b3e..b942e38bb 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -258,7 +258,8 @@ "ap-southeast-1", "ap-northeast-1", "ap-south-1" - ] + ], + "type" : "string" }, { "type": "string" @@ -2197,24 +2198,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ - { - "enum": [ - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - "eu-west-1", - "eu-central-1", - "ap-southeast-1", - "ap-northeast-1", - "ap-south-1" - ] - }, - { - "type": "string" - } - ] + "$ref": "#/definitions/ModelDescription/properties/region" }, "profile": { "title": "Profile", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 4bb201b3e..b942e38bb 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -258,7 +258,8 @@ "ap-southeast-1", "ap-northeast-1", "ap-south-1" - ] + ], + "type" : "string" }, { "type": "string" @@ -2197,24 +2198,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ - { - "enum": [ - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - "eu-west-1", - "eu-central-1", - "ap-southeast-1", - "ap-northeast-1", - "ap-south-1" - ] - }, - { - "type": "string" - } - ] + "$ref": "#/definitions/ModelDescription/properties/region" }, "profile": { "title": "Profile",