@effect/ai-anthropic 4.0.0-beta.72 → 4.0.0-beta.74

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.
@@ -112,7 +112,7 @@ export declare class AnthropicClient extends AnthropicClient_base {
112
112
  * @see {@link layer} for providing an Anthropic client from explicit options
113
113
  * @see {@link layerConfig} for loading Anthropic client settings from `Config`
114
114
  *
115
- * @category models
115
+ * @category options
116
116
  * @since 4.0.0
117
117
  */
118
118
  export type Options = {
@@ -64,7 +64,7 @@ export interface ResponseAttributes {
64
64
  /**
65
65
  * Options accepted by `addGenAIAnnotations`, combining standard GenAI telemetry attributes with optional Anthropic request and response attributes.
66
66
  *
67
- * @category models
67
+ * @category options
68
68
  * @since 4.0.0
69
69
  */
70
70
  export type AnthropicTelemetryAttributeOptions = Telemetry.GenAITelemetryAttributeOptions & {
@@ -86,7 +86,7 @@ export type AnthropicTelemetryAttributeOptions = Telemetry.GenAITelemetryAttribu
86
86
  *
87
87
  * This method mutates the `Span` in place.
88
88
  *
89
- * @category utils
89
+ * @category annotations
90
90
  * @since 4.0.0
91
91
  */
92
92
  export declare const addGenAIAnnotations: {
@@ -103,7 +103,7 @@ export declare const addGenAIAnnotations: {
103
103
  *
104
104
  * This method mutates the `Span` in place.
105
105
  *
106
- * @category utils
106
+ * @category annotations
107
107
  * @since 4.0.0
108
108
  */
109
109
  (options: AnthropicTelemetryAttributeOptions): (span: Span) => void;
@@ -120,7 +120,7 @@ export declare const addGenAIAnnotations: {
120
120
  *
121
121
  * This method mutates the `Span` in place.
122
122
  *
123
- * @category utils
123
+ * @category annotations
124
124
  * @since 4.0.0
125
125
  */
126
126
  (span: Span, options: AnthropicTelemetryAttributeOptions): void;
@@ -54,7 +54,7 @@ const addAnthropicResponseAttributes = /*#__PURE__*/Telemetry.addSpanAttributes(
54
54
  *
55
55
  * This method mutates the `Span` in place.
56
56
  *
57
- * @category utils
57
+ * @category annotations
58
58
  * @since 4.0.0
59
59
  */
60
60
  export const addGenAIAnnotations = /*#__PURE__*/dual(2, (span, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/ai-anthropic",
3
- "version": "4.0.0-beta.72",
3
+ "version": "4.0.0-beta.74",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "An Anthropic provider integration for Effect AI SDK",
@@ -43,10 +43,10 @@
43
43
  "provenance": true
44
44
  },
45
45
  "devDependencies": {
46
- "effect": "^4.0.0-beta.72"
46
+ "effect": "^4.0.0-beta.74"
47
47
  },
48
48
  "peerDependencies": {
49
- "effect": "^4.0.0-beta.72"
49
+ "effect": "^4.0.0-beta.74"
50
50
  },
51
51
  "scripts": {
52
52
  "codegen": "effect-utils codegen",
@@ -188,7 +188,7 @@ export class AnthropicClient extends Context.Service<AnthropicClient, Service>()
188
188
  * @see {@link layer} for providing an Anthropic client from explicit options
189
189
  * @see {@link layerConfig} for loading Anthropic client settings from `Config`
190
190
  *
191
- * @category models
191
+ * @category options
192
192
  * @since 4.0.0
193
193
  */
194
194
  export type Options = {
@@ -113,7 +113,7 @@ export interface ResponseAttributes {
113
113
  /**
114
114
  * Options accepted by `addGenAIAnnotations`, combining standard GenAI telemetry attributes with optional Anthropic request and response attributes.
115
115
  *
116
- * @category models
116
+ * @category options
117
117
  * @since 4.0.0
118
118
  */
119
119
  export type AnthropicTelemetryAttributeOptions = Telemetry.GenAITelemetryAttributeOptions & {
@@ -143,7 +143,7 @@ const addAnthropicResponseAttributes = Telemetry.addSpanAttributes("gen_ai.anthr
143
143
  *
144
144
  * This method mutates the `Span` in place.
145
145
  *
146
- * @category utils
146
+ * @category annotations
147
147
  * @since 4.0.0
148
148
  */
149
149
  export const addGenAIAnnotations: {
@@ -160,7 +160,7 @@ export const addGenAIAnnotations: {
160
160
  *
161
161
  * This method mutates the `Span` in place.
162
162
  *
163
- * @category utils
163
+ * @category annotations
164
164
  * @since 4.0.0
165
165
  */
166
166
  (options: AnthropicTelemetryAttributeOptions): (span: Span) => void
@@ -177,7 +177,7 @@ export const addGenAIAnnotations: {
177
177
  *
178
178
  * This method mutates the `Span` in place.
179
179
  *
180
- * @category utils
180
+ * @category annotations
181
181
  * @since 4.0.0
182
182
  */
183
183
  (span: Span, options: AnthropicTelemetryAttributeOptions): void