You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/types/openapi.d.ts
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,14 @@ declare namespace Components {
62
62
* 97946543
63
63
*/
64
64
seed: number|null;
65
+
/**
66
+
* example:
67
+
* checkWeather
68
+
*/
69
+
toolChoice?: string|null;
65
70
};
66
71
promptMessages: /* The initial messages to be included with your call to the LLM API. */PromptMessage[];
72
+
promptTools: Tool[];
67
73
}
68
74
/**
69
75
* The initial messages to be included with your call to the LLM API.
@@ -80,6 +86,28 @@ declare namespace Components {
80
86
*/
81
87
role: "USER"|"ASSISTANT"|"SYSTEM"|"TOOL";
82
88
}
89
+
exportinterfaceTool{
90
+
/**
91
+
* example:
92
+
* TOOL_1
93
+
*/
94
+
toolId?: string;
95
+
/**
96
+
* The name of the tool to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
97
+
*/
98
+
name: string;// ^[a-zA-Z0-9_-]{1,64}$
99
+
/**
100
+
* A description of what the tool does, used by the model to choose when and how to call the tool.
101
+
*/
102
+
description: string;
103
+
parameters: /* The parameters the functions accepts, described as a JSON Schema object. This schema is designed to match the TypeScript Record<string, unknown>, allowing for any properties with values of any type. */ToolParameters;
104
+
}
105
+
/**
106
+
* The parameters the functions accepts, described as a JSON Schema object. This schema is designed to match the TypeScript Record<string, unknown>, allowing for any properties with values of any type.
0 commit comments