@arizeai/phoenix-client 7.1.0 → 7.2.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/README.md +25 -0
- package/dist/esm/__generated__/api/v1.d.ts +315 -9
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/experiments/getExperiment.d.ts.map +1 -1
- package/dist/esm/experiments/getExperiment.js.map +1 -1
- package/dist/esm/projects/getProjects.d.ts +31 -0
- package/dist/esm/projects/getProjects.d.ts.map +1 -0
- package/dist/esm/projects/getProjects.js +45 -0
- package/dist/esm/projects/getProjects.js.map +1 -0
- package/dist/esm/projects/index.d.ts +2 -0
- package/dist/esm/projects/index.d.ts.map +1 -0
- package/dist/esm/projects/index.js +2 -0
- package/dist/esm/projects/index.js.map +1 -0
- package/dist/esm/prompts/createPrompt.js +1 -1
- package/dist/esm/prompts/createPrompt.js.map +1 -1
- package/dist/esm/prompts/sdks/toSDK.js +1 -1
- package/dist/esm/prompts/sdks/toSDK.js.map +1 -1
- package/dist/esm/schemas/llm/converters.js +5 -5
- package/dist/esm/schemas/llm/converters.js.map +1 -1
- package/dist/esm/schemas/llm/openai/converters.js +3 -3
- package/dist/esm/schemas/llm/openai/converters.js.map +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts.map +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/converters.js +2 -0
- package/dist/esm/schemas/llm/phoenixPrompt/converters.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types/projects.d.ts +5 -0
- package/dist/esm/types/projects.d.ts.map +1 -1
- package/dist/esm/types/projects.js.map +1 -1
- package/dist/esm/utils/serverVersionUtils.d.ts.map +1 -1
- package/dist/esm/utils/serverVersionUtils.js +3 -0
- package/dist/esm/utils/serverVersionUtils.js.map +1 -1
- package/dist/src/__generated__/api/v1.d.ts +315 -9
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/experiments/getExperiment.d.ts.map +1 -1
- package/dist/src/experiments/getExperiment.js.map +1 -1
- package/dist/src/projects/getProjects.d.ts +31 -0
- package/dist/src/projects/getProjects.d.ts.map +1 -0
- package/dist/src/projects/getProjects.js +53 -0
- package/dist/src/projects/getProjects.js.map +1 -0
- package/dist/src/projects/index.d.ts +2 -0
- package/dist/src/projects/index.d.ts.map +1 -0
- package/dist/src/projects/index.js +18 -0
- package/dist/src/projects/index.js.map +1 -0
- package/dist/src/prompts/createPrompt.js +1 -1
- package/dist/src/prompts/createPrompt.js.map +1 -1
- package/dist/src/prompts/sdks/toSDK.js +1 -1
- package/dist/src/prompts/sdks/toSDK.js.map +1 -1
- package/dist/src/schemas/llm/converters.js +5 -5
- package/dist/src/schemas/llm/converters.js.map +1 -1
- package/dist/src/schemas/llm/openai/converters.js +3 -3
- package/dist/src/schemas/llm/openai/converters.js.map +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts.map +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/converters.js +2 -0
- package/dist/src/schemas/llm/phoenixPrompt/converters.js.map +1 -1
- package/dist/src/types/projects.d.ts +5 -0
- package/dist/src/types/projects.d.ts.map +1 -1
- package/dist/src/types/projects.js.map +1 -1
- package/dist/src/utils/serverVersionUtils.d.ts.map +1 -1
- package/dist/src/utils/serverVersionUtils.js +3 -0
- package/dist/src/utils/serverVersionUtils.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -12
- package/src/__generated__/api/v1.ts +315 -9
- package/src/experiments/getExperiment.ts +4 -7
- package/src/projects/getProjects.ts +69 -0
- package/src/projects/index.ts +1 -0
- package/src/prompts/createPrompt.ts +1 -1
- package/src/prompts/sdks/toSDK.ts +1 -1
- package/src/schemas/llm/converters.ts +5 -5
- package/src/schemas/llm/openai/converters.ts +3 -3
- package/src/schemas/llm/phoenixPrompt/converters.ts +2 -0
- package/src/types/projects.ts +7 -0
- package/src/utils/serverVersionUtils.ts +3 -0
package/README.md
CHANGED
|
@@ -729,6 +729,31 @@ await addSessionNote({
|
|
|
729
729
|
});
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
+
## Projects
|
|
733
|
+
|
|
734
|
+
The `@arizeai/phoenix-client` package provides a `projects` export for listing projects.
|
|
735
|
+
|
|
736
|
+
### Fetching Projects
|
|
737
|
+
|
|
738
|
+
Use `getProjects` to list projects. Pagination is handled for you.
|
|
739
|
+
|
|
740
|
+
```ts
|
|
741
|
+
import { getProjects } from "@arizeai/phoenix-client/projects";
|
|
742
|
+
|
|
743
|
+
// List every project
|
|
744
|
+
const projects = await getProjects();
|
|
745
|
+
|
|
746
|
+
for (const project of projects) {
|
|
747
|
+
console.log(`Project: ${project.name} (${project.id})`);
|
|
748
|
+
}
|
|
749
|
+
```
|
|
750
|
+
|
|
751
|
+
Pass `nameContains` to filter by a case-insensitive substring of the project name. The filter is applied server-side and requires Phoenix server `17.16.0` or newer.
|
|
752
|
+
|
|
753
|
+
```ts
|
|
754
|
+
const agentProjects = await getProjects({ nameContains: "agent" });
|
|
755
|
+
```
|
|
756
|
+
|
|
732
757
|
## Examples
|
|
733
758
|
|
|
734
759
|
To run examples, install dependencies using `pnpm` and run:
|
|
@@ -1026,7 +1026,11 @@ export interface paths {
|
|
|
1026
1026
|
delete: operations["deletePrompt"];
|
|
1027
1027
|
options?: never;
|
|
1028
1028
|
head?: never;
|
|
1029
|
-
|
|
1029
|
+
/**
|
|
1030
|
+
* Update prompt metadata
|
|
1031
|
+
* @description Update a prompt's description and metadata by identifier.
|
|
1032
|
+
*/
|
|
1033
|
+
patch: operations["patchPrompt"];
|
|
1030
1034
|
trace?: never;
|
|
1031
1035
|
};
|
|
1032
1036
|
"/v1/projects": {
|
|
@@ -1389,6 +1393,28 @@ export interface paths {
|
|
|
1389
1393
|
patch?: never;
|
|
1390
1394
|
trace?: never;
|
|
1391
1395
|
};
|
|
1396
|
+
"/v1/chat/completions": {
|
|
1397
|
+
parameters: {
|
|
1398
|
+
query?: never;
|
|
1399
|
+
header?: never;
|
|
1400
|
+
path?: never;
|
|
1401
|
+
cookie?: never;
|
|
1402
|
+
};
|
|
1403
|
+
get?: never;
|
|
1404
|
+
put?: never;
|
|
1405
|
+
/**
|
|
1406
|
+
* OpenAI-compatible chat completions
|
|
1407
|
+
* @description Creates a chat completion using the OpenAI wire format, proxying to the selected provider with credentials resolved on the server (secret store first, environment second) — callers never handle provider API keys. Model must be '{provider}:{model_name}' for a built-in provider (one of anthropic, aws, azure_openai, cerebras, deepseek, fireworks, google, groq, moonshot, ollama, openai, perplexity, together, xai) or 'custom:{provider_id}:{model_name}' for a stored custom provider, e.g. 'openai:gpt-4o' or 'anthropic:claude-sonnet-4-5'. Set `stream: true` for server-sent events of `chat.completion.chunk` payloads terminated by `data: [DONE]`. Tool calling is not supported.
|
|
1408
|
+
*
|
|
1409
|
+
* **Phoenix is not an AI gateway.** The same server also takes on trace ingestion traffic, so routing production LLM calls through it competes with ingestion. Use this endpoint only to quickly try out different models in non-production environments.
|
|
1410
|
+
*/
|
|
1411
|
+
post: operations["createChatCompletion"];
|
|
1412
|
+
delete?: never;
|
|
1413
|
+
options?: never;
|
|
1414
|
+
head?: never;
|
|
1415
|
+
patch?: never;
|
|
1416
|
+
trace?: never;
|
|
1417
|
+
};
|
|
1392
1418
|
"/auth/login": {
|
|
1393
1419
|
parameters: {
|
|
1394
1420
|
query?: never;
|
|
@@ -1932,6 +1958,98 @@ export interface components {
|
|
|
1932
1958
|
/** Score */
|
|
1933
1959
|
score?: number | null;
|
|
1934
1960
|
};
|
|
1961
|
+
/** ChatCompletion */
|
|
1962
|
+
ChatCompletion: {
|
|
1963
|
+
/** Id */
|
|
1964
|
+
id: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Object
|
|
1967
|
+
* @default chat.completion
|
|
1968
|
+
* @constant
|
|
1969
|
+
*/
|
|
1970
|
+
object?: "chat.completion";
|
|
1971
|
+
/** Created */
|
|
1972
|
+
created: number;
|
|
1973
|
+
/** Model */
|
|
1974
|
+
model: string;
|
|
1975
|
+
/** Choices */
|
|
1976
|
+
choices: components["schemas"]["ChatCompletionChoice"][];
|
|
1977
|
+
usage: components["schemas"]["ChatCompletionUsage"];
|
|
1978
|
+
};
|
|
1979
|
+
/** ChatCompletionChoice */
|
|
1980
|
+
ChatCompletionChoice: {
|
|
1981
|
+
/**
|
|
1982
|
+
* Index
|
|
1983
|
+
* @default 0
|
|
1984
|
+
*/
|
|
1985
|
+
index?: number;
|
|
1986
|
+
message: components["schemas"]["ChatCompletionMessage"];
|
|
1987
|
+
/** Finish Reason */
|
|
1988
|
+
finish_reason: string;
|
|
1989
|
+
};
|
|
1990
|
+
/** ChatCompletionErrorDetail */
|
|
1991
|
+
ChatCompletionErrorDetail: {
|
|
1992
|
+
/** Message */
|
|
1993
|
+
message: string;
|
|
1994
|
+
/** Type */
|
|
1995
|
+
type: string;
|
|
1996
|
+
/** Param */
|
|
1997
|
+
param?: string | null;
|
|
1998
|
+
/** Code */
|
|
1999
|
+
code?: string | null;
|
|
2000
|
+
};
|
|
2001
|
+
/** ChatCompletionErrorResponse */
|
|
2002
|
+
ChatCompletionErrorResponse: {
|
|
2003
|
+
error: components["schemas"]["ChatCompletionErrorDetail"];
|
|
2004
|
+
};
|
|
2005
|
+
/** ChatCompletionMessage */
|
|
2006
|
+
ChatCompletionMessage: {
|
|
2007
|
+
/**
|
|
2008
|
+
* Role
|
|
2009
|
+
* @default assistant
|
|
2010
|
+
* @constant
|
|
2011
|
+
*/
|
|
2012
|
+
role?: "assistant";
|
|
2013
|
+
/** Content */
|
|
2014
|
+
content: string;
|
|
2015
|
+
};
|
|
2016
|
+
/** ChatCompletionRequestMessage */
|
|
2017
|
+
ChatCompletionRequestMessage: {
|
|
2018
|
+
/**
|
|
2019
|
+
* Role
|
|
2020
|
+
* @enum {string}
|
|
2021
|
+
*/
|
|
2022
|
+
role: "system" | "developer" | "user" | "assistant";
|
|
2023
|
+
/** Content */
|
|
2024
|
+
content: string | components["schemas"]["ChatCompletionTextPart"][];
|
|
2025
|
+
};
|
|
2026
|
+
/** ChatCompletionStreamOptions */
|
|
2027
|
+
ChatCompletionStreamOptions: {
|
|
2028
|
+
/**
|
|
2029
|
+
* Include Usage
|
|
2030
|
+
* @default false
|
|
2031
|
+
*/
|
|
2032
|
+
include_usage?: boolean;
|
|
2033
|
+
};
|
|
2034
|
+
/** ChatCompletionTextPart */
|
|
2035
|
+
ChatCompletionTextPart: {
|
|
2036
|
+
/**
|
|
2037
|
+
* Type
|
|
2038
|
+
* @constant
|
|
2039
|
+
*/
|
|
2040
|
+
type: "text";
|
|
2041
|
+
/** Text */
|
|
2042
|
+
text: string;
|
|
2043
|
+
};
|
|
2044
|
+
/** ChatCompletionUsage */
|
|
2045
|
+
ChatCompletionUsage: {
|
|
2046
|
+
/** Prompt Tokens */
|
|
2047
|
+
prompt_tokens: number;
|
|
2048
|
+
/** Completion Tokens */
|
|
2049
|
+
completion_tokens: number;
|
|
2050
|
+
/** Total Tokens */
|
|
2051
|
+
total_tokens: number;
|
|
2052
|
+
};
|
|
1935
2053
|
/**
|
|
1936
2054
|
* ChatContext
|
|
1937
2055
|
* @description Discriminated union of every UI-state context the agent understands.
|
|
@@ -2106,6 +2224,63 @@ export interface components {
|
|
|
2106
2224
|
CreateApiKeyResponseBody: {
|
|
2107
2225
|
data: components["schemas"]["CreatedApiKey"];
|
|
2108
2226
|
};
|
|
2227
|
+
/**
|
|
2228
|
+
* CreateChatCompletionRequestBody
|
|
2229
|
+
* @example {
|
|
2230
|
+
* "messages": [
|
|
2231
|
+
* {
|
|
2232
|
+
* "content": "You are a helpful assistant.",
|
|
2233
|
+
* "role": "system"
|
|
2234
|
+
* },
|
|
2235
|
+
* {
|
|
2236
|
+
* "content": "Say hello.",
|
|
2237
|
+
* "role": "user"
|
|
2238
|
+
* }
|
|
2239
|
+
* ],
|
|
2240
|
+
* "model": "openai:gpt-4o"
|
|
2241
|
+
* }
|
|
2242
|
+
*/
|
|
2243
|
+
CreateChatCompletionRequestBody: {
|
|
2244
|
+
/**
|
|
2245
|
+
* Model
|
|
2246
|
+
* @description Model must be '{provider}:{model_name}' for a built-in provider (one of anthropic, aws, azure_openai, cerebras, deepseek, fireworks, google, groq, moonshot, ollama, openai, perplexity, together, xai) or 'custom:{provider_id}:{model_name}' for a stored custom provider, e.g. 'openai:gpt-4o' or 'anthropic:claude-sonnet-4-5'.
|
|
2247
|
+
*/
|
|
2248
|
+
model: string;
|
|
2249
|
+
/** Messages */
|
|
2250
|
+
messages: components["schemas"]["ChatCompletionRequestMessage"][];
|
|
2251
|
+
/**
|
|
2252
|
+
* Stream
|
|
2253
|
+
* @default false
|
|
2254
|
+
*/
|
|
2255
|
+
stream?: boolean;
|
|
2256
|
+
/** Temperature */
|
|
2257
|
+
temperature?: number | null;
|
|
2258
|
+
/** Top P */
|
|
2259
|
+
top_p?: number | null;
|
|
2260
|
+
/** Max Tokens */
|
|
2261
|
+
max_tokens?: number | null;
|
|
2262
|
+
/** Max Completion Tokens */
|
|
2263
|
+
max_completion_tokens?: number | null;
|
|
2264
|
+
/** Stop */
|
|
2265
|
+
stop?: string | string[] | null;
|
|
2266
|
+
/** Frequency Penalty */
|
|
2267
|
+
frequency_penalty?: number | null;
|
|
2268
|
+
/** Presence Penalty */
|
|
2269
|
+
presence_penalty?: number | null;
|
|
2270
|
+
/** Seed */
|
|
2271
|
+
seed?: number | null;
|
|
2272
|
+
/** N */
|
|
2273
|
+
n?: number | null;
|
|
2274
|
+
stream_options?: components["schemas"]["ChatCompletionStreamOptions"] | null;
|
|
2275
|
+
/** Tools */
|
|
2276
|
+
tools?: unknown[] | null;
|
|
2277
|
+
/** Tool Choice */
|
|
2278
|
+
tool_choice?: unknown | null;
|
|
2279
|
+
/** Response Format */
|
|
2280
|
+
response_format?: {
|
|
2281
|
+
[key: string]: unknown;
|
|
2282
|
+
} | null;
|
|
2283
|
+
};
|
|
2109
2284
|
/** CreateDatasetLabelRequestBody */
|
|
2110
2285
|
CreateDatasetLabelRequestBody: {
|
|
2111
2286
|
/**
|
|
@@ -3595,6 +3770,28 @@ export interface components {
|
|
|
3595
3770
|
*/
|
|
3596
3771
|
message?: string | null;
|
|
3597
3772
|
};
|
|
3773
|
+
/**
|
|
3774
|
+
* PatchPromptRequestBody
|
|
3775
|
+
* @description Fields to update on a prompt. Omit a field to leave it unchanged.
|
|
3776
|
+
*/
|
|
3777
|
+
PatchPromptRequestBody: {
|
|
3778
|
+
/**
|
|
3779
|
+
* Description
|
|
3780
|
+
* @description New description for the prompt (null clears the description)
|
|
3781
|
+
*/
|
|
3782
|
+
description?: string | null;
|
|
3783
|
+
/**
|
|
3784
|
+
* Metadata
|
|
3785
|
+
* @description New metadata object for the prompt (replaces the existing metadata as a whole)
|
|
3786
|
+
*/
|
|
3787
|
+
metadata?: {
|
|
3788
|
+
[key: string]: unknown;
|
|
3789
|
+
};
|
|
3790
|
+
};
|
|
3791
|
+
/** PatchPromptResponseBody */
|
|
3792
|
+
PatchPromptResponseBody: {
|
|
3793
|
+
data: components["schemas"]["Prompt"];
|
|
3794
|
+
};
|
|
3598
3795
|
/**
|
|
3599
3796
|
* PhoenixUIMessage
|
|
3600
3797
|
* @description `UIMessage` with `metadata` narrowed to the Phoenix wire shapes.
|
|
@@ -3755,12 +3952,9 @@ export interface components {
|
|
|
3755
3952
|
*
|
|
3756
3953
|
* ``span_filter`` carries the project-scoped span filter expression when the
|
|
3757
3954
|
* span filter field is mounted — empty string when the field is mounted with
|
|
3758
|
-
* no condition applied, ``None`` when the field is not present at all.
|
|
3759
|
-
*
|
|
3760
|
-
*
|
|
3761
|
-
* all toggle when that toggle is mounted — ``True`` when the table is
|
|
3762
|
-
* restricted to root spans, ``False`` when it shows every span, ``None``
|
|
3763
|
-
* when the toggle is not present (e.g. on the traces tab).
|
|
3955
|
+
* no condition applied, ``None`` when the field is not present at all. It
|
|
3956
|
+
* describes the view in full, root-span scoping included (which is expressed
|
|
3957
|
+
* within the filter DSL as ``parent_id is None``).
|
|
3764
3958
|
*/
|
|
3765
3959
|
ProjectContext: {
|
|
3766
3960
|
/**
|
|
@@ -3772,8 +3966,6 @@ export interface components {
|
|
|
3772
3966
|
projectNodeId: string;
|
|
3773
3967
|
/** Spanfilter */
|
|
3774
3968
|
spanFilter?: string | null;
|
|
3775
|
-
/** Rootspansonly */
|
|
3776
|
-
rootSpansOnly?: boolean | null;
|
|
3777
3969
|
};
|
|
3778
3970
|
/** Prompt */
|
|
3779
3971
|
Prompt: {
|
|
@@ -9479,6 +9671,60 @@ export interface operations {
|
|
|
9479
9671
|
};
|
|
9480
9672
|
};
|
|
9481
9673
|
};
|
|
9674
|
+
patchPrompt: {
|
|
9675
|
+
parameters: {
|
|
9676
|
+
query?: never;
|
|
9677
|
+
header?: never;
|
|
9678
|
+
path: {
|
|
9679
|
+
/** @description The identifier of the prompt, i.e. name or ID. */
|
|
9680
|
+
prompt_identifier: string;
|
|
9681
|
+
};
|
|
9682
|
+
cookie?: never;
|
|
9683
|
+
};
|
|
9684
|
+
requestBody: {
|
|
9685
|
+
content: {
|
|
9686
|
+
"application/json": components["schemas"]["PatchPromptRequestBody"];
|
|
9687
|
+
};
|
|
9688
|
+
};
|
|
9689
|
+
responses: {
|
|
9690
|
+
/** @description The updated prompt */
|
|
9691
|
+
200: {
|
|
9692
|
+
headers: {
|
|
9693
|
+
[name: string]: unknown;
|
|
9694
|
+
};
|
|
9695
|
+
content: {
|
|
9696
|
+
"application/json": components["schemas"]["PatchPromptResponseBody"];
|
|
9697
|
+
};
|
|
9698
|
+
};
|
|
9699
|
+
/** @description Forbidden */
|
|
9700
|
+
403: {
|
|
9701
|
+
headers: {
|
|
9702
|
+
[name: string]: unknown;
|
|
9703
|
+
};
|
|
9704
|
+
content: {
|
|
9705
|
+
"text/plain": string;
|
|
9706
|
+
};
|
|
9707
|
+
};
|
|
9708
|
+
/** @description Not Found */
|
|
9709
|
+
404: {
|
|
9710
|
+
headers: {
|
|
9711
|
+
[name: string]: unknown;
|
|
9712
|
+
};
|
|
9713
|
+
content: {
|
|
9714
|
+
"text/plain": string;
|
|
9715
|
+
};
|
|
9716
|
+
};
|
|
9717
|
+
/** @description Unprocessable Entity */
|
|
9718
|
+
422: {
|
|
9719
|
+
headers: {
|
|
9720
|
+
[name: string]: unknown;
|
|
9721
|
+
};
|
|
9722
|
+
content: {
|
|
9723
|
+
"text/plain": string;
|
|
9724
|
+
};
|
|
9725
|
+
};
|
|
9726
|
+
};
|
|
9727
|
+
};
|
|
9482
9728
|
getProjects: {
|
|
9483
9729
|
parameters: {
|
|
9484
9730
|
query?: {
|
|
@@ -10678,6 +10924,66 @@ export interface operations {
|
|
|
10678
10924
|
};
|
|
10679
10925
|
};
|
|
10680
10926
|
};
|
|
10927
|
+
createChatCompletion: {
|
|
10928
|
+
parameters: {
|
|
10929
|
+
query?: never;
|
|
10930
|
+
header?: never;
|
|
10931
|
+
path?: never;
|
|
10932
|
+
cookie?: never;
|
|
10933
|
+
};
|
|
10934
|
+
requestBody: {
|
|
10935
|
+
content: {
|
|
10936
|
+
"application/json": components["schemas"]["CreateChatCompletionRequestBody"];
|
|
10937
|
+
};
|
|
10938
|
+
};
|
|
10939
|
+
responses: {
|
|
10940
|
+
/** @description Successful Response */
|
|
10941
|
+
200: {
|
|
10942
|
+
headers: {
|
|
10943
|
+
[name: string]: unknown;
|
|
10944
|
+
};
|
|
10945
|
+
content: {
|
|
10946
|
+
"application/json": components["schemas"]["ChatCompletion"];
|
|
10947
|
+
};
|
|
10948
|
+
};
|
|
10949
|
+
/** @description Bad Request */
|
|
10950
|
+
400: {
|
|
10951
|
+
headers: {
|
|
10952
|
+
[name: string]: unknown;
|
|
10953
|
+
};
|
|
10954
|
+
content: {
|
|
10955
|
+
"application/json": components["schemas"]["ChatCompletionErrorResponse"];
|
|
10956
|
+
};
|
|
10957
|
+
};
|
|
10958
|
+
/** @description Forbidden */
|
|
10959
|
+
403: {
|
|
10960
|
+
headers: {
|
|
10961
|
+
[name: string]: unknown;
|
|
10962
|
+
};
|
|
10963
|
+
content: {
|
|
10964
|
+
"text/plain": string;
|
|
10965
|
+
};
|
|
10966
|
+
};
|
|
10967
|
+
/** @description Not Found */
|
|
10968
|
+
404: {
|
|
10969
|
+
headers: {
|
|
10970
|
+
[name: string]: unknown;
|
|
10971
|
+
};
|
|
10972
|
+
content: {
|
|
10973
|
+
"application/json": components["schemas"]["ChatCompletionErrorResponse"];
|
|
10974
|
+
};
|
|
10975
|
+
};
|
|
10976
|
+
/** @description Unprocessable Entity */
|
|
10977
|
+
422: {
|
|
10978
|
+
headers: {
|
|
10979
|
+
[name: string]: unknown;
|
|
10980
|
+
};
|
|
10981
|
+
content: {
|
|
10982
|
+
"application/json": components["schemas"]["ChatCompletionErrorResponse"];
|
|
10983
|
+
};
|
|
10984
|
+
};
|
|
10985
|
+
};
|
|
10986
|
+
};
|
|
10681
10987
|
_login_auth_login_post: {
|
|
10682
10988
|
parameters: {
|
|
10683
10989
|
query?: never;
|