다음을 통해 공유


VectorStoreFile interface

벡터 저장소에 연결된 파일에 대한 설명입니다.

속성

chunkingStrategy

파일을 청크하는 데 사용되는 전략입니다.

createdAt

벡터 저장소 파일이 만들어진 시점의 Unix 타임스탬프(초)입니다.

id

API 엔드포인트에서 참조할 수 있는 식별자입니다.

lastError

이 벡터 저장소 파일과 연결된 마지막 오류입니다. 오류가 없으면 null이 됩니다.

object

항상 vector_store.file인 개체 형식입니다.

status

벡터 저장소 파일의 상태로, in_progress, completed, cancelled 또는 failed일 수 있습니다. completed 상태는 벡터 저장소 파일을 사용할 준비가 되었음을 나타냅니다.

usageBytes

총 벡터 저장소 사용량(바이트)입니다. 원래 파일 크기와 다를 수 있습니다.

vectorStoreId

파일이 연결된 벡터 저장소의 ID입니다.

속성 세부 정보

chunkingStrategy

파일을 청크하는 데 사용되는 전략입니다.

chunkingStrategy: VectorStoreChunkingStrategyResponseUnion

속성 값

createdAt

벡터 저장소 파일이 만들어진 시점의 Unix 타임스탬프(초)입니다.

createdAt: Date

속성 값

Date

id

API 엔드포인트에서 참조할 수 있는 식별자입니다.

id: string

속성 값

string

lastError

이 벡터 저장소 파일과 연결된 마지막 오류입니다. 오류가 없으면 null이 됩니다.

lastError: null | VectorStoreFileError

속성 값

object

항상 vector_store.file인 개체 형식입니다.

object: "vector_store.file"

속성 값

"vector_store.file"

status

벡터 저장소 파일의 상태로, in_progress, completed, cancelled 또는 failed일 수 있습니다. completed 상태는 벡터 저장소 파일을 사용할 준비가 되었음을 나타냅니다.

status: VectorStoreFileStatus

속성 값

usageBytes

총 벡터 저장소 사용량(바이트)입니다. 원래 파일 크기와 다를 수 있습니다.

usageBytes: number

속성 값

number

vectorStoreId

파일이 연결된 벡터 저장소의 ID입니다.

vectorStoreId: string

속성 값

string