From 7f94ac6095789ac03f26998fda125afc113cebc0 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Fri, 23 Aug 2024 11:00:13 -0700 Subject: [PATCH 1/3] Add supported model configuration and llm matrix in docs - https://sourcegraph.slack.com/archives/C01DXLN3D0T/p1724371821673379?thread_ts=1724349497.587969&cid=C01DXLN3D0T --- docs/cody/clients/enable-cody-enterprise.mdx | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/cody/clients/enable-cody-enterprise.mdx b/docs/cody/clients/enable-cody-enterprise.mdx index b2fc7a93c..aba1cf879 100644 --- a/docs/cody/clients/enable-cody-enterprise.mdx +++ b/docs/cody/clients/enable-cody-enterprise.mdx @@ -72,3 +72,26 @@ Cody Enterprise supports searching up to 10 repositories to find relevant contex Sourcegraph Enterprise supports many different LLM providers and models. You can use state of the art code completion models such as Anthropic's Claude or OpenAI's ChatGPT by adjusting your Sourcegraph instance's configuration. Refer to the [Model Configuration](/cody/clients/model-configuration) or [Supported Models](/cody/capabilities/supported-models) sections for more information. + +supported LLM models listed above refer to the following notes: + +1. Microsoft Azure is planning to deprecate the APIs used in SG version less than `5.3.3` on July 1, 2024 [Source](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation) +2. Claude 2.1 is not recommended +3. Sourcegraph doesn't recommend GPT-4 non-turbo, Claude 1 or 2 models +4. Only supported through legacy completions API +5. BYOK with managed services are only supported for Self-hosted Sourcegraph instances +6. GPT-4 and GPT-4o for completions has a bug that is resulting in many failed completions + +### Supported model configuration + +Use the drop-down menu to make your desired selection and get a detailed breakdown of the supported model configuration for each provider on Cody Enterprise. This is an on-site configuration. Admins should pick a value from the table for `chatModel` to configure their chat model. + + + +For the supported LLM model configuration listed above refer to the following notes: + +1. Microsoft Azure is planning to deprecate the APIs used in SG version less than `5.3.3` on July 1, 2024 [Source](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation) +2. Claude 2.1 is not recommended +3. Sourcegraph doesn't recommend GPT-4 non-turbo, Claude 1 or 2 models +4. Only supported through legacy completions API +5. BYOK with managed services are only supported for Self-hosted Sourcegraph instances From 1227cb0a93a3812b1542597fabadb2710c54316d Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Fri, 23 Aug 2024 11:05:54 -0700 Subject: [PATCH 2/3] Update docs/cody/clients/enable-cody-enterprise.mdx --- docs/cody/clients/enable-cody-enterprise.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cody/clients/enable-cody-enterprise.mdx b/docs/cody/clients/enable-cody-enterprise.mdx index aba1cf879..01c1ff8b8 100644 --- a/docs/cody/clients/enable-cody-enterprise.mdx +++ b/docs/cody/clients/enable-cody-enterprise.mdx @@ -72,7 +72,9 @@ Cody Enterprise supports searching up to 10 repositories to find relevant contex Sourcegraph Enterprise supports many different LLM providers and models. You can use state of the art code completion models such as Anthropic's Claude or OpenAI's ChatGPT by adjusting your Sourcegraph instance's configuration. Refer to the [Model Configuration](/cody/clients/model-configuration) or [Supported Models](/cody/capabilities/supported-models) sections for more information. +Use the drop-down menu to make your desired selection and get a detailed breakdown of the supported LLM models for each provider on Cody Enterprise. + supported LLM models listed above refer to the following notes: 1. Microsoft Azure is planning to deprecate the APIs used in SG version less than `5.3.3` on July 1, 2024 [Source](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation) From 3b4b4dcb76be4dbdf2b214ebc18719a8a8166ff7 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Fri, 23 Aug 2024 11:05:59 -0700 Subject: [PATCH 3/3] Update docs/cody/clients/enable-cody-enterprise.mdx --- docs/cody/clients/enable-cody-enterprise.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cody/clients/enable-cody-enterprise.mdx b/docs/cody/clients/enable-cody-enterprise.mdx index 01c1ff8b8..625bcb24f 100644 --- a/docs/cody/clients/enable-cody-enterprise.mdx +++ b/docs/cody/clients/enable-cody-enterprise.mdx @@ -75,7 +75,7 @@ Refer to the [Model Configuration](/cody/clients/model-configuration) or [Suppor Use the drop-down menu to make your desired selection and get a detailed breakdown of the supported LLM models for each provider on Cody Enterprise. -supported LLM models listed above refer to the following notes: +For the supported LLM models listed above refer to the following notes: 1. Microsoft Azure is planning to deprecate the APIs used in SG version less than `5.3.3` on July 1, 2024 [Source](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation) 2. Claude 2.1 is not recommended