メインコンテンツまでスキップ

HttpImportCreateReq

このインターフェースは、createImportJobs() のリクエストボディを定義します。

typescript
interface HttpImportCreateReq

FIELDS:

  • collectionName (string) -

    [REQUIRED]

    対象のコレクション名を指定します。

  • files (string[][]) -

    [REQUIRED]

    インポートするファイルグループを指定します。

  • dbName (string) -

    データベース名を指定します。

  • options (object) -

    インポートオプションを指定します。

Example​

javascript
const request = {
collectionName: 'book_embeddings',
files: [['s3://bucket/book_embeddings/part-0001.parquet']],
options: { timeout: '600s' },
};