@effect/ai-openai 0.25.2 → 0.26.0
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/ai-openai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
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
|
-
"@effect/experimental": "^0.
|
|
19
|
-
"@effect/platform": "^0.
|
|
20
|
-
"effect": "^3.
|
|
17
|
+
"@effect/ai": "^0.23.0",
|
|
18
|
+
"@effect/experimental": "^0.53.0",
|
|
19
|
+
"@effect/platform": "^0.89.0",
|
|
20
|
+
"effect": "^3.17.0"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"provenance": true
|
package/src/Generated.ts
CHANGED
|
@@ -1327,7 +1327,7 @@ export class CreateChatCompletionResponse
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Log probability information for the choice.
|
|
1329
1329
|
*/
|
|
1330
|
-
"logprobs": S.NullOr(S.Struct({
|
|
1330
|
+
"logprobs": S.optional(S.NullOr(S.Struct({
|
|
1331
1331
|
/**
|
|
1332
1332
|
* A list of message content tokens with log probability information.
|
|
1333
1333
|
*/
|
|
@@ -1336,7 +1336,7 @@ export class CreateChatCompletionResponse
|
|
|
1336
1336
|
* A list of message refusal tokens with log probability information.
|
|
1337
1337
|
*/
|
|
1338
1338
|
"refusal": S.NullOr(S.Array(ChatCompletionTokenLogprob))
|
|
1339
|
-
}))
|
|
1339
|
+
})))
|
|
1340
1340
|
})),
|
|
1341
1341
|
/**
|
|
1342
1342
|
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
@@ -3111,7 +3111,7 @@ export class Eval extends S.Class<Eval>("Eval")({
|
|
|
3111
3111
|
EvalPythonGrader,
|
|
3112
3112
|
EvalScoreModelGrader
|
|
3113
3113
|
)
|
|
3114
|
-
)
|
|
3114
|
+
),
|
|
3115
3115
|
/**
|
|
3116
3116
|
* The Unix timestamp (in seconds) for when the eval was created.
|
|
3117
3117
|
*/
|
|
@@ -13332,6 +13332,7 @@ export const make = (
|
|
|
13332
13332
|
HttpClientRequest.del(`/responses/${responseId}`).pipe(
|
|
13333
13333
|
withResponse(HttpClientResponse.matchStatus({
|
|
13334
13334
|
"404": decodeError("Error", Error),
|
|
13335
|
+
"200": () => Effect.void,
|
|
13335
13336
|
orElse: unexpectedStatus
|
|
13336
13337
|
}))
|
|
13337
13338
|
),
|