@theia/ai-openai 1.66.0-next.27 → 1.66.0-next.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
6
6
 
7
- <h2>ECLIPSE THEIA - Open AI EXTENSION</h2>
7
+ <h2>ECLIPSE THEIA - OPEN AI EXTENSION</h2>
8
8
 
9
9
  <hr />
10
10
 
@@ -44,16 +44,16 @@ You can configure the end points via the `ai-features.openAiCustom.customOpenAiM
44
44
 
45
45
  ### Azure OpenAI
46
46
 
47
- To use a custom OpenAI model hosted on Azure, the `AzureOpenAI` class needs to be used, as described in the
47
+ To use a custom OpenAI model hosted on Azure, the `AzureOpenAI` class needs to be used, as described in the
48
48
  [openai-node docs](https://github.com/openai/openai-node?tab=readme-ov-file#microsoft-azure-openai).
49
49
 
50
50
  Requests to an OpenAI model hosted on Azure need an `apiVersion`. To configure a custom OpenAI model in Theia you therefore need to configure the `apiVersion` with the end point.
51
51
  Note that if you don't configure an `apiVersion`, the default `OpenAI` object is used for initialization and a connection to an Azure hosted OpenAI model will fail.
52
52
 
53
- An OpenAI model version deployed on Azure might not support the `developer` role. In that case it is possible to configure whether the `developer` role is supported or not via the
53
+ An OpenAI model version deployed on Azure might not support the `developer` role. In that case it is possible to configure whether the `developer` role is supported or not via the
54
54
  `developerMessageSettings` option, e.g. setting it to `system` or `user`.
55
55
 
56
- The following snippet shows a possible configuration to access an OpenAI model hosted on Azure. The `AZURE_OPENAI_API_BASE_URL` needs to be given without the `/chat/completions`
56
+ The following snippet shows a possible configuration to access an OpenAI model hosted on Azure. The `AZURE_OPENAI_API_BASE_URL` needs to be given without the `/chat/completions`
57
57
  path and without the `api-version` parameter, e.g. _`https://<my_prefix>.openai.azure.com/openai/deployments/<my_deployment>`_
58
58
 
59
59
  ```json
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@theia/ai-openai",
3
- "version": "1.66.0-next.27+a9334fd8e",
3
+ "version": "1.66.0-next.32+0e85731b8",
4
4
  "description": "Theia - OpenAI Integration",
5
5
  "dependencies": {
6
- "@theia/ai-core": "1.66.0-next.27+a9334fd8e",
7
- "@theia/core": "1.66.0-next.27+a9334fd8e",
8
- "@theia/filesystem": "1.66.0-next.27+a9334fd8e",
9
- "@theia/workspace": "1.66.0-next.27+a9334fd8e",
6
+ "@theia/ai-core": "1.66.0-next.32+0e85731b8",
7
+ "@theia/core": "1.66.0-next.32+0e85731b8",
8
+ "@theia/filesystem": "1.66.0-next.32+0e85731b8",
9
+ "@theia/workspace": "1.66.0-next.32+0e85731b8",
10
10
  "openai": "^5.0.1",
11
11
  "tslib": "^2.6.2"
12
12
  },
@@ -49,5 +49,5 @@
49
49
  "nyc": {
50
50
  "extends": "../../configs/nyc.json"
51
51
  },
52
- "gitHead": "a9334fd8e3fa0dfd9beccf1c2f0fe15c6c2c071d"
52
+ "gitHead": "0e85731b8d6b22ec862ca4ef7a35a9b81a744107"
53
53
  }