Ingestion Jobs - List
지난 48시간 동안 실행된 모든 수집 작업의 상태 페이지를 매긴 컬렉션 형식으로 나열합니다.
GET {endpoint}/openai/extensions/on-your-data/ingestion-jobs?api-version=2023-10-01-preview
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
endpoint
|
path | True |
string url |
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://aoairesource.openai.azure.com) "aoairesource"를 Azure OpenAI 계정 이름으로 대체합니다.) |
api-version
|
query | True |
string |
요청된 API 버전입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
api-key | True |
string |
여기에서 Cognitive Services Azure OpenAI 계정 키를 제공합니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
오류가 발생했습니다. |
보안
api-key
여기에서 Cognitive Services Azure OpenAI 계정 키를 제공합니다.
Type:
apiKey
In:
header
예제
Getting status of an ingestion job.
Sample Request
GET https://aoairesource.openai.azure.com/openai/extensions/on-your-data/ingestion-jobs?api-version=2023-10-01-preview
Sample Response
{
"value": [
{
"id": "test2",
"dataRefreshIntervalInMinutes": 60,
"completionAction": "cleanUpAssets",
"status": "running",
"warnings": [],
"progress": {
"stageProgress": [
{
"name": "Preprocessing",
"totalItems": 100,
"processedItems": 100
},
{
"name": "Indexing",
"totalItems": 200,
"processedItems": 50
}
]
}
},
{
"id": "test1",
"dataRefreshIntervalInMinutes": 60,
"completionAction": "cleanUpAssets",
"status": "succeeded",
"warnings": []
}
]
}
정의
Name | Description |
---|---|
Error |
오류 |
Error |
오류 코드 |
Error |
ErrorResponse |
Ingestion |
IngestionJob |
Ingestion |
IngestionJobCompletionAction |
Ingestion |
IngestionJobList |
Ingestion |
IngestionJobProgress |
Inner |
InnerError |
Inner |
InnerErrorCode |
Operation |
OperationState |
Stage |
Error
오류
Name | 형식 | Description |
---|---|---|
code |
오류 코드 |
|
details |
Error[] |
사용 가능한 경우 오류 세부 정보입니다. |
innererror |
InnerError |
|
message |
string |
이 오류의 메시지입니다. |
target |
string |
사용 가능한 경우 오류가 발생한 위치입니다. |
ErrorCode
오류 코드
Name | 형식 | Description |
---|---|---|
conflict |
string |
요청된 작업이 현재 리소스 상태와 충돌합니다. |
contentFilter |
string |
안전 시스템의 결과로 이미지 생성이 실패했습니다. |
fileImportFailed |
string |
파일을 가져오지 못했습니다. |
forbidden |
string |
현재 사용자/api 키에는 작업이 금지되어 있습니다. |
internalFailure |
string |
내부 오류입니다. 다시 시도하세요. |
invalidPayload |
string |
이 작업에 대한 요청 데이터가 잘못되었습니다. |
itemDoesAlreadyExist |
string |
항목이 이미 있습니다. |
jsonlValidationFailed |
string |
jsonl 데이터의 유효성 검사에 실패했습니다. |
notFound |
string |
리소스를 찾을 수 없습니다. |
quotaExceeded |
string |
할당량이 초과되었습니다. |
serviceUnavailable |
string |
현재 서비스를 사용할 수 없습니다. |
tooManyRequests |
string |
요청이 너무 많습니다. 나중에 다시 시도하십시오. |
unauthorized |
string |
현재 사용자/api 키는 작업에 대한 권한이 없습니다. |
unexpectedEntityState |
string |
작업은 현재 리소스의 상태에서 실행할 수 없습니다. |
ErrorResponse
ErrorResponse
Name | 형식 | Description |
---|---|---|
error |
오류 |
IngestionJob
IngestionJob
Name | 형식 | 기본값 | Description |
---|---|---|---|
chunkSize |
integer |
1024 |
이 숫자는 수집 흐름에서 생성된 각 청크의 최대 토큰 수를 정의합니다. |
completionAction |
IngestionJobCompletionAction |
||
dataRefreshIntervalInMinutes |
integer |
||
error |
오류 |
||
id |
string |
||
progress |
IngestionJobProgress |
||
status |
OperationState |
||
warnings |
string[] |
IngestionJobCompletionAction
IngestionJobCompletionAction
Name | 형식 | Description |
---|---|---|
cleanUpAssets |
string |
수집 프로세스 중에 만든 중간 자산을 클린. |
keepAllAssets |
string |
수집 프로세스 중에 생성된 중간 자산을 클린 않습니다. |
IngestionJobList
IngestionJobList
Name | 형식 | Description |
---|---|---|
value |
IngestionJob |
IngestionJobProgress
IngestionJobProgress
Name | 형식 | Description |
---|---|---|
stageProgress |
InnerError
InnerError
Name | 형식 | Description |
---|---|---|
code |
InnerErrorCode |
|
innererror |
InnerError |
InnerErrorCode
InnerErrorCode
Name | 형식 | Description |
---|---|---|
invalidPayload |
string |
이 작업에 대한 요청 데이터가 잘못되었습니다. |
OperationState
OperationState
Name | 형식 | Description |
---|---|---|
failed |
string |
작업이 실패로 처리를 완료했으며 더 이상 사용할 수 없습니다. |
notRunning |
string |
작업은 나중에 처리될 큐에 대기되지 않습니다. |
running |
string |
작업이 처리되기 시작했습니다. |
succeeded |
string |
작업이 성공적으로 처리되었으며 사용할 준비가 되었습니다. |
StageProgress
Name | 형식 | Description |
---|---|---|
name |
string |
|
processedItems |
integer |
|
totalItems |
integer |