@effect/ai-openai 0.21.2 → 0.21.4

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.
@@ -69,7 +69,7 @@ export declare const model: (model: (string & {}) | Model, config: Simplify<(({
69
69
  * @since 1.0.0
70
70
  * @category Constructors
71
71
  */
72
- export declare const makeDataLoader: (this: unknown, options: {
72
+ export declare const makeDataLoader: (options: {
73
73
  readonly model: (string & {}) | Model;
74
74
  readonly config: Config.DataLoader;
75
75
  }) => Effect.Effect<AiEmbeddingModel.AiEmbeddingModel.Service, never, OpenAiClient | import("effect/Scope").Scope>;
@@ -98,7 +98,7 @@ export declare const modelWithTokenizer: (model: (string & {}) | Model, config?:
98
98
  * @since 1.0.0
99
99
  * @category Constructors
100
100
  */
101
- export declare const make: (this: unknown, options: {
101
+ export declare const make: (options: {
102
102
  readonly model: (string & {}) | Model;
103
103
  readonly config?: Omit<Config.Service, "model">;
104
104
  }) => Effect.Effect<AiLanguageModel.AiLanguageModel.Service<never>, never, OpenAiClient>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/ai-openai",
3
- "version": "0.21.2",
3
+ "version": "0.21.4",
4
4
  "description": "Effect modules for working with AI apis",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -14,10 +14,10 @@
14
14
  "gpt-tokenizer": "^2.9.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "@effect/ai": "^0.18.2",
18
- "@effect/experimental": "^0.48.2",
19
- "@effect/platform": "^0.84.2",
20
- "effect": "^3.16.2"
17
+ "@effect/ai": "^0.18.4",
18
+ "@effect/experimental": "^0.48.4",
19
+ "@effect/platform": "^0.84.4",
20
+ "effect": "^3.16.3"
21
21
  },
22
22
  "publishConfig": {
23
23
  "provenance": true