Class RawExtendClient
- java.lang.Object
-
- ai.extend.RawExtendClient
-
public class RawExtendClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawExtendClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientHttpResponse<ParserRun>parse(ParseRequest request)Parse files to get cleaned, chunked target content (e.g.ExtendClientHttpResponse<ParserRun>parse(ParseRequest request, RequestOptions requestOptions)Parse files to get cleaned, chunked target content (e.g.ExtendClientHttpResponse<ParserRunStatus>parseAsync(ParseAsyncRequest request)Parse files asynchronously to get cleaned, chunked target content (e.g.ExtendClientHttpResponse<ParserRunStatus>parseAsync(ParseAsyncRequest request, RequestOptions requestOptions)Parse files asynchronously to get cleaned, chunked target content (e.g.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawExtendClient
public RawExtendClient(ClientOptions clientOptions)
-
-
Method Detail
-
parse
public ExtendClientHttpResponse<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 ExtendClientHttpResponse<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 ExtendClientHttpResponse<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 ExtendClientHttpResponse<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.
-
-