共用方式為


CodeInterpreterToolResource interface

code_interpreter 工具所使用的一組資源。

屬性

dataSources

要使用的數據源。 此選項與 fileIds 屬性互斥。

fileIds

可供 code_interpreter 工具使用的檔案識別碼清單。 最多可以有 20 個檔案與工具相關聯。

屬性詳細資料

dataSources

要使用的數據源。 此選項與 fileIds 屬性互斥。

dataSources?: VectorStoreDataSource[]

屬性值

fileIds

可供 code_interpreter 工具使用的檔案識別碼清單。 最多可以有 20 個檔案與工具相關聯。

fileIds?: string[]

屬性值

string[]