InputItemCodeInterpreterToolCall interface
استدعاء أداة لتشغيل التعليمات البرمجية.
- يمتد
الخصائص
| code | |
| container_id | معرف الحاوية المستخدمة لتشغيل التعليمات البرمجية. |
| id | المعرف الفريد لاستدعاء أداة مترجم التعليمات البرمجية. |
| outputs | |
| status | حالة استدعاء أداة مترجم التعليمات البرمجية. القيم الصالحة هي |
| type | نوع استدعاء أداة مترجم التعليمات البرمجية. دائمًا |
تفاصيل الخاصية
code
code: string
قيمة الخاصية
string
container_id
معرف الحاوية المستخدمة لتشغيل التعليمات البرمجية.
container_id: string
قيمة الخاصية
string
id
المعرف الفريد لاستدعاء أداة مترجم التعليمات البرمجية.
id: string
قيمة الخاصية
string
outputs
outputs: (CodeInterpreterOutputLogs | CodeInterpreterOutputImage)[]
قيمة الخاصية
status
حالة استدعاء أداة مترجم التعليمات البرمجية. القيم الصالحة هي in_progressوcompletedincompleteinterpreting.failed
status: "in_progress" | "completed" | "incomplete" | "failed" | "interpreting"
قيمة الخاصية
"in_progress" | "completed" | "incomplete" | "failed" | "interpreting"
type
نوع استدعاء أداة مترجم التعليمات البرمجية. دائمًا code_interpreter_call.
type: "code_interpreter_call"
قيمة الخاصية
"code_interpreter_call"