@effect/ai-openai-compat 4.0.0-beta.71 → 4.0.0-beta.73

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.
@@ -34,7 +34,7 @@ export interface Service {
34
34
  }
35
35
  declare const OpenAiClient_base: Context.ServiceClass<OpenAiClient, "@effect/ai-openai-compat/OpenAiClient", Service>;
36
36
  /**
37
- * Context service tag for the OpenAI-compatible chat completions and embeddings client.
37
+ * Service tag for the OpenAI-compatible chat completions and embeddings client.
38
38
  *
39
39
  * **When to use**
40
40
  *
@@ -40,7 +40,7 @@ import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse";
40
40
  import * as Errors from "./internal/errors.js";
41
41
  import { OpenAiConfig } from "./OpenAiConfig.js";
42
42
  /**
43
- * Context service tag for the OpenAI-compatible chat completions and embeddings client.
43
+ * Service tag for the OpenAI-compatible chat completions and embeddings client.
44
44
  *
45
45
  * **When to use**
46
46
  *
@@ -26,8 +26,8 @@ import * as Effect from "effect/Effect";
26
26
  import type { HttpClient } from "effect/unstable/http/HttpClient";
27
27
  declare const OpenAiConfig_base: Context.ServiceClass<OpenAiConfig, "@effect/ai-openai-compat/OpenAiConfig", OpenAiConfig.Service>;
28
28
  /**
29
- * Context service used to carry OpenAI-compatible client configuration for the
30
- * current Effect scope.
29
+ * Context service for OpenAI-compatible client configuration in the current
30
+ * Effect scope.
31
31
  *
32
32
  * **When to use**
33
33
  *
@@ -25,8 +25,8 @@ import * as Context from "effect/Context";
25
25
  import * as Effect from "effect/Effect";
26
26
  import { dual } from "effect/Function";
27
27
  /**
28
- * Context service used to carry OpenAI-compatible client configuration for the
29
- * current Effect scope.
28
+ * Context service for OpenAI-compatible client configuration in the current
29
+ * Effect scope.
30
30
  *
31
31
  * **When to use**
32
32
  *
@@ -56,7 +56,7 @@ declare const Config_base: Context.ServiceClass<Config, "@effect/ai-openai-compa
56
56
  readonly dimensions?: number | undefined | undefined;
57
57
  }>;
58
58
  /**
59
- * Service definition for OpenAI embedding model configuration.
59
+ * Context service for OpenAI embedding model configuration.
60
60
  *
61
61
  * **When to use**
62
62
  *
@@ -44,7 +44,7 @@ import * as EmbeddingModel from "effect/unstable/ai/EmbeddingModel";
44
44
  import * as AiModel from "effect/unstable/ai/Model";
45
45
  import { OpenAiClient } from "./OpenAiClient.js";
46
46
  /**
47
- * Service definition for OpenAI embedding model configuration.
47
+ * Context service for OpenAI embedding model configuration.
48
48
  *
49
49
  * **When to use**
50
50
  *
@@ -87,7 +87,7 @@ declare const Config_base: Context.ServiceClass<Config, "@effect/ai-openai-compa
87
87
  readonly strictJsonSchema?: boolean | undefined | undefined;
88
88
  }>;
89
89
  /**
90
- * Service definition for OpenAI language model configuration.
90
+ * Context service for OpenAI language model configuration.
91
91
  *
92
92
  * **When to use**
93
93
  *
@@ -55,7 +55,7 @@ import { addGenAIAnnotations } from "./OpenAiTelemetry.js";
55
55
  // Configuration
56
56
  // =============================================================================
57
57
  /**
58
- * Service definition for OpenAI language model configuration.
58
+ * Context service for OpenAI language model configuration.
59
59
  *
60
60
  * **When to use**
61
61
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/ai-openai-compat",
3
- "version": "4.0.0-beta.71",
3
+ "version": "4.0.0-beta.73",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "An OpenAI compat integration for Effect",
@@ -45,10 +45,10 @@
45
45
  "provenance": true
46
46
  },
47
47
  "devDependencies": {
48
- "effect": "^4.0.0-beta.71"
48
+ "effect": "^4.0.0-beta.73"
49
49
  },
50
50
  "peerDependencies": {
51
- "effect": "^4.0.0-beta.71"
51
+ "effect": "^4.0.0-beta.73"
52
52
  },
53
53
  "scripts": {
54
54
  "codegen": "effect-utils codegen",
@@ -77,7 +77,7 @@ export interface Service {
77
77
  }
78
78
 
79
79
  /**
80
- * Context service tag for the OpenAI-compatible chat completions and embeddings client.
80
+ * Service tag for the OpenAI-compatible chat completions and embeddings client.
81
81
  *
82
82
  * **When to use**
83
83
  *
@@ -27,8 +27,8 @@ import { dual } from "effect/Function"
27
27
  import type { HttpClient } from "effect/unstable/http/HttpClient"
28
28
 
29
29
  /**
30
- * Context service used to carry OpenAI-compatible client configuration for the
31
- * current Effect scope.
30
+ * Context service for OpenAI-compatible client configuration in the current
31
+ * Effect scope.
32
32
  *
33
33
  * **When to use**
34
34
  *
@@ -55,7 +55,7 @@ import { OpenAiClient } from "./OpenAiClient.ts"
55
55
  export type Model = string
56
56
 
57
57
  /**
58
- * Service definition for OpenAI embedding model configuration.
58
+ * Context service for OpenAI embedding model configuration.
59
59
  *
60
60
  * **When to use**
61
61
  *
@@ -85,7 +85,7 @@ type ImageDetail = "auto" | "low" | "high"
85
85
  // =============================================================================
86
86
 
87
87
  /**
88
- * Service definition for OpenAI language model configuration.
88
+ * Context service for OpenAI language model configuration.
89
89
  *
90
90
  * **When to use**
91
91
  *