Class AsyncExtendClient
- java.lang.Object
-
- ai.extend.AsyncExtendClient
-
public class AsyncExtendClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<AsyncBatchProcessorRunClient>batchProcessorRunClientprotected java.util.function.Supplier<AsyncBatchWorkflowRunClient>batchWorkflowRunClientprotected ClientOptionsclientOptionsprotected java.util.function.Supplier<AsyncEvaluationSetClient>evaluationSetClientprotected java.util.function.Supplier<AsyncEvaluationSetItemClient>evaluationSetItemClientprotected java.util.function.Supplier<AsyncFileClient>fileClientprotected java.util.function.Supplier<AsyncParserRunClient>parserRunClientprotected java.util.function.Supplier<AsyncProcessorClient>processorClientprotected java.util.function.Supplier<AsyncProcessorRunClient>processorRunClientprotected java.util.function.Supplier<AsyncProcessorVersionClient>processorVersionClientprotected java.util.function.Supplier<AsyncWorkflowClient>workflowClientprotected java.util.function.Supplier<AsyncWorkflowRunClient>workflowRunClientprotected java.util.function.Supplier<AsyncWorkflowRunOutputClient>workflowRunOutputClient
-
Constructor Summary
Constructors Constructor Description AsyncExtendClient(ClientOptions clientOptions)
-
Method Summary
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
workflowRunClient
protected final java.util.function.Supplier<AsyncWorkflowRunClient> workflowRunClient
-
batchWorkflowRunClient
protected final java.util.function.Supplier<AsyncBatchWorkflowRunClient> batchWorkflowRunClient
-
processorRunClient
protected final java.util.function.Supplier<AsyncProcessorRunClient> processorRunClient
-
processorClient
protected final java.util.function.Supplier<AsyncProcessorClient> processorClient
-
processorVersionClient
protected final java.util.function.Supplier<AsyncProcessorVersionClient> processorVersionClient
-
parserRunClient
protected final java.util.function.Supplier<AsyncParserRunClient> parserRunClient
-
fileClient
protected final java.util.function.Supplier<AsyncFileClient> fileClient
-
evaluationSetClient
protected final java.util.function.Supplier<AsyncEvaluationSetClient> evaluationSetClient
-
evaluationSetItemClient
protected final java.util.function.Supplier<AsyncEvaluationSetItemClient> evaluationSetItemClient
-
workflowRunOutputClient
protected final java.util.function.Supplier<AsyncWorkflowRunOutputClient> workflowRunOutputClient
-
batchProcessorRunClient
protected final java.util.function.Supplier<AsyncBatchProcessorRunClient> batchProcessorRunClient
-
workflowClient
protected final java.util.function.Supplier<AsyncWorkflowClient> workflowClient
-
-
Constructor Detail
-
AsyncExtendClient
public AsyncExtendClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawExtendClient withRawResponse()
Get responses with HTTP metadata like headers
-
parse
public java.util.concurrent.CompletableFuture<ParserRun> parse(ParseRequest request)
Parse files to get cleaned, chunked target content (e.g. markdown).The Parse endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
For more details, see the Parse File guide.
-
parse
public java.util.concurrent.CompletableFuture<ParserRun> parse(ParseRequest request, RequestOptions requestOptions)
Parse files to get cleaned, chunked target content (e.g. markdown).The Parse endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
For more details, see the Parse File guide.
-
parseAsync
public java.util.concurrent.CompletableFuture<ParserRunStatus> parseAsync(ParseAsyncRequest request)
Parse files asynchronously to get cleaned, chunked target content (e.g. markdown).The Parse Async endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
Parse files asynchronously and get a parser run ID that can be used to check status and retrieve results with the Get Parser Run endpoint.
This is useful for:
- Large files that may take longer to process
- Avoiding timeout issues with synchronous parsing.
For more details, see the Parse File guide.
-
parseAsync
public java.util.concurrent.CompletableFuture<ParserRunStatus> parseAsync(ParseAsyncRequest request, RequestOptions requestOptions)
Parse files asynchronously to get cleaned, chunked target content (e.g. markdown).The Parse Async endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
Parse files asynchronously and get a parser run ID that can be used to check status and retrieve results with the Get Parser Run endpoint.
This is useful for:
- Large files that may take longer to process
- Avoiding timeout issues with synchronous parsing.
For more details, see the Parse File guide.
-
workflowRun
public AsyncWorkflowRunClient workflowRun()
-
batchWorkflowRun
public AsyncBatchWorkflowRunClient batchWorkflowRun()
-
processorRun
public AsyncProcessorRunClient processorRun()
-
processor
public AsyncProcessorClient processor()
-
processorVersion
public AsyncProcessorVersionClient processorVersion()
-
parserRun
public AsyncParserRunClient parserRun()
-
file
public AsyncFileClient file()
-
evaluationSet
public AsyncEvaluationSetClient evaluationSet()
-
evaluationSetItem
public AsyncEvaluationSetItemClient evaluationSetItem()
-
workflowRunOutput
public AsyncWorkflowRunOutputClient workflowRunOutput()
-
batchProcessorRun
public AsyncBatchProcessorRunClient batchProcessorRun()
-
workflow
public AsyncWorkflowClient workflow()
-
builder
public static AsyncExtendClientBuilder builder()
-
-