@llamaindex/llama-cloud 2.4.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- package/client.d.ts.map +1 -1
- package/client.js +14 -0
- package/client.js.map +1 -1
- package/client.mjs +14 -0
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +2 -2
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/batches.d.mts +492 -0
- package/resources/batches.d.mts.map +1 -0
- package/resources/batches.d.ts +492 -0
- package/resources/batches.d.ts.map +1 -0
- package/resources/batches.js +61 -0
- package/resources/batches.js.map +1 -0
- package/resources/batches.mjs +57 -0
- package/resources/batches.mjs.map +1 -0
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/index.mjs.map +1 -1
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/batch/job-items.mjs.map +1 -1
- package/resources/beta/batch.d.mts.map +1 -1
- package/resources/beta/batch.d.ts.map +1 -1
- package/resources/beta/batch.mjs.map +1 -1
- package/resources/beta/beta.d.mts +12 -0
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +12 -0
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +12 -0
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +12 -0
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/chat.d.mts +357 -0
- package/resources/beta/chat.d.mts.map +1 -0
- package/resources/beta/chat.d.ts +357 -0
- package/resources/beta/chat.d.ts.map +1 -0
- package/resources/beta/chat.js +101 -0
- package/resources/beta/chat.js.map +1 -0
- package/resources/beta/chat.mjs +97 -0
- package/resources/beta/chat.mjs.map +1 -0
- package/resources/beta/directories/directories.d.mts +72 -24
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +72 -24
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +0 -3
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +0 -3
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +65 -57
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +65 -57
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +14 -27
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +14 -27
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/directories/index.mjs.map +1 -1
- package/resources/beta/directories.d.mts.map +1 -1
- package/resources/beta/directories.d.ts.map +1 -1
- package/resources/beta/directories.mjs.map +1 -1
- package/resources/beta/index.d.mts +3 -0
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +3 -0
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +7 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +3 -0
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/indexes.d.mts +311 -0
- package/resources/beta/indexes.d.mts.map +1 -0
- package/resources/beta/indexes.d.ts +311 -0
- package/resources/beta/indexes.d.ts.map +1 -0
- package/resources/beta/indexes.js +86 -0
- package/resources/beta/indexes.js.map +1 -0
- package/resources/beta/indexes.mjs +82 -0
- package/resources/beta/indexes.mjs.map +1 -0
- package/resources/beta/retrieval.d.mts +368 -0
- package/resources/beta/retrieval.d.mts.map +1 -0
- package/resources/beta/retrieval.d.ts +368 -0
- package/resources/beta/retrieval.d.ts.map +1 -0
- package/resources/beta/retrieval.js +87 -0
- package/resources/beta/retrieval.js.map +1 -0
- package/resources/beta/retrieval.mjs +83 -0
- package/resources/beta/retrieval.mjs.map +1 -0
- package/resources/beta/sheets.d.mts +10 -17
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +10 -17
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +10 -17
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +10 -17
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/beta/split.mjs.map +1 -1
- package/resources/beta.d.mts.map +1 -1
- package/resources/beta.d.ts.map +1 -1
- package/resources/beta.mjs.map +1 -1
- package/resources/classifier/classifier.d.mts.map +1 -1
- package/resources/classifier/classifier.d.ts.map +1 -1
- package/resources/classifier/classifier.mjs.map +1 -1
- package/resources/classifier/index.d.mts.map +1 -1
- package/resources/classifier/index.d.ts.map +1 -1
- package/resources/classifier/index.mjs.map +1 -1
- package/resources/classifier/jobs.d.mts +5 -8
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +5 -8
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classifier/jobs.js +5 -8
- package/resources/classifier/jobs.js.map +1 -1
- package/resources/classifier/jobs.mjs +5 -8
- package/resources/classifier/jobs.mjs.map +1 -1
- package/resources/classifier.d.mts.map +1 -1
- package/resources/classifier.d.ts.map +1 -1
- package/resources/classifier.mjs.map +1 -1
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts.map +1 -1
- package/resources/classify.mjs.map +1 -1
- package/resources/configurations.d.mts +27 -10
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +27 -10
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +2 -4
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +2 -4
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +2 -9
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +2 -9
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +19 -56
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +19 -56
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +1 -8
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +1 -8
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +31 -8
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +31 -8
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +2 -2
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +2 -2
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +2 -2
- package/resources/pipelines/data-sources.mjs +2 -2
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +2 -4
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +2 -4
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +2 -4
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +2 -4
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/index.mjs.map +1 -1
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/pipelines.d.mts.map +1 -1
- package/resources/pipelines.d.ts.map +1 -1
- package/resources/pipelines.mjs.map +1 -1
- package/resources/projects.d.mts +0 -1
- package/resources/projects.d.mts.map +1 -1
- package/resources/projects.d.ts +0 -1
- package/resources/projects.d.ts.map +1 -1
- package/resources/projects.mjs.map +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/index.mjs.map +1 -1
- package/resources/retrievers/retriever.d.mts.map +1 -1
- package/resources/retrievers/retriever.d.ts.map +1 -1
- package/resources/retrievers/retriever.mjs.map +1 -1
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/retrievers.d.mts.map +1 -1
- package/resources/retrievers.d.ts.map +1 -1
- package/resources/retrievers.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +35 -2
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/batches.ts +588 -0
- package/src/resources/beta/beta.ts +94 -0
- package/src/resources/beta/chat.ts +523 -0
- package/src/resources/beta/directories/directories.ts +77 -29
- package/src/resources/beta/directories/files.ts +73 -60
- package/src/resources/beta/index.ts +41 -0
- package/src/resources/beta/indexes.ts +421 -0
- package/src/resources/beta/retrieval.ts +483 -0
- package/src/resources/beta/sheets.ts +10 -17
- package/src/resources/classifier/jobs.ts +5 -8
- package/src/resources/configurations.ts +29 -92
- package/src/resources/extract.ts +2 -11
- package/src/resources/files.ts +22 -60
- package/src/resources/index.ts +10 -1
- package/src/resources/parsing.ts +37 -90
- package/src/resources/pipelines/data-sources.ts +2 -2
- package/src/resources/pipelines/documents.ts +2 -4
- package/src/resources/projects.ts +0 -2
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { PagePromise, PaginatedCursorPost, type PaginatedCursorPostParams } from "../../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
export declare class Retrieval extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Retrieve relevant chunks via hybrid search (vector + full-text), with filtering
|
|
8
|
+
* on built-in or user-defined metadata.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const retrieval = await client.beta.retrieval.retrieve({
|
|
13
|
+
* index_id: 'idx-abc123',
|
|
14
|
+
* query: 'What are the key findings?',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
retrieve(params: RetrievalRetrieveParams, options?: RequestOptions): APIPromise<RetrievalRetrieveResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Search for files by name.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* // Automatically fetches more pages as needed.
|
|
25
|
+
* for await (const retrievalFindResponse of client.beta.retrieval.find(
|
|
26
|
+
* { index_id: 'idx-abc123' },
|
|
27
|
+
* )) {
|
|
28
|
+
* // ...
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
find(params: RetrievalFindParams, options?: RequestOptions): PagePromise<RetrievalFindResponsesPaginatedCursorPost, RetrievalFindResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Grep within a file's parsed content using a regex pattern.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* // Automatically fetches more pages as needed.
|
|
39
|
+
* for await (const retrievalGrepResponse of client.beta.retrieval.grep(
|
|
40
|
+
* {
|
|
41
|
+
* file_id: 'file_id',
|
|
42
|
+
* index_id: 'idx-abc123',
|
|
43
|
+
* pattern: 'revenue|profit',
|
|
44
|
+
* },
|
|
45
|
+
* )) {
|
|
46
|
+
* // ...
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
grep(params: RetrievalGrepParams, options?: RequestOptions): PagePromise<RetrievalGrepResponsesPaginatedCursorPost, RetrievalGrepResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Read the parsed text content of a specific file.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const response = await client.beta.retrieval.read({
|
|
57
|
+
* file_id: 'file_id',
|
|
58
|
+
* index_id: 'idx-abc123',
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
read(params: RetrievalReadParams, options?: RequestOptions): APIPromise<RetrievalReadResponse>;
|
|
63
|
+
}
|
|
64
|
+
export type RetrievalFindResponsesPaginatedCursorPost = PaginatedCursorPost<RetrievalFindResponse>;
|
|
65
|
+
export type RetrievalGrepResponsesPaginatedCursorPost = PaginatedCursorPost<RetrievalGrepResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Response containing retrieval results.
|
|
68
|
+
*/
|
|
69
|
+
export interface RetrievalRetrieveResponse {
|
|
70
|
+
/**
|
|
71
|
+
* Ordered list of retrieved chunks.
|
|
72
|
+
*/
|
|
73
|
+
results: Array<RetrievalRetrieveResponse.Result>;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace RetrievalRetrieveResponse {
|
|
76
|
+
/**
|
|
77
|
+
* A single retrieval result.
|
|
78
|
+
*/
|
|
79
|
+
interface Result {
|
|
80
|
+
/**
|
|
81
|
+
* Text content of the retrieved chunk.
|
|
82
|
+
*/
|
|
83
|
+
content: string;
|
|
84
|
+
/**
|
|
85
|
+
* User-defined metadata associated with the chunk.
|
|
86
|
+
*/
|
|
87
|
+
metadata?: {
|
|
88
|
+
[key: string]: string | number | boolean | Array<string> | null;
|
|
89
|
+
} | null;
|
|
90
|
+
/**
|
|
91
|
+
* Relevance score from the reranker, if reranking was applied.
|
|
92
|
+
*/
|
|
93
|
+
rerank_score?: number | null;
|
|
94
|
+
/**
|
|
95
|
+
* Hybrid search relevance score.
|
|
96
|
+
*/
|
|
97
|
+
score?: number | null;
|
|
98
|
+
/**
|
|
99
|
+
* Built-in fields stored for every exported chunk.
|
|
100
|
+
*/
|
|
101
|
+
static_fields?: Result.StaticFields;
|
|
102
|
+
}
|
|
103
|
+
namespace Result {
|
|
104
|
+
/**
|
|
105
|
+
* Built-in fields stored for every exported chunk.
|
|
106
|
+
*/
|
|
107
|
+
interface StaticFields {
|
|
108
|
+
/**
|
|
109
|
+
* Attachments associated with the chunk
|
|
110
|
+
*/
|
|
111
|
+
attachments?: Array<StaticFields.Attachment>;
|
|
112
|
+
/**
|
|
113
|
+
* End character offset of the chunk.
|
|
114
|
+
*/
|
|
115
|
+
chunk_end_char?: number | null;
|
|
116
|
+
/**
|
|
117
|
+
* Index of the chunk within the file.
|
|
118
|
+
*/
|
|
119
|
+
chunk_index?: number | null;
|
|
120
|
+
/**
|
|
121
|
+
* Start character offset of the chunk.
|
|
122
|
+
*/
|
|
123
|
+
chunk_start_char?: number | null;
|
|
124
|
+
/**
|
|
125
|
+
* Token count of the chunk.
|
|
126
|
+
*/
|
|
127
|
+
chunk_token_count?: number | null;
|
|
128
|
+
/**
|
|
129
|
+
* Last page number covered by this chunk.
|
|
130
|
+
*/
|
|
131
|
+
page_range_end?: number | null;
|
|
132
|
+
/**
|
|
133
|
+
* First page number covered by this chunk.
|
|
134
|
+
*/
|
|
135
|
+
page_range_start?: number | null;
|
|
136
|
+
/**
|
|
137
|
+
* ID of the parsed file.
|
|
138
|
+
*/
|
|
139
|
+
parsed_directory_file_id?: string | null;
|
|
140
|
+
}
|
|
141
|
+
namespace StaticFields {
|
|
142
|
+
/**
|
|
143
|
+
* Reference to a file attachment, retrievable via
|
|
144
|
+
* `GET /api/v1/beta/attachments/{attachment_name}?source_id=...`.
|
|
145
|
+
*/
|
|
146
|
+
interface Attachment {
|
|
147
|
+
/**
|
|
148
|
+
* Attachment-relative path, e.g. 'screenshots/page_7.jpg'.
|
|
149
|
+
*/
|
|
150
|
+
attachment_name: string;
|
|
151
|
+
/**
|
|
152
|
+
* File ID to pass as source_id when fetching the attachment.
|
|
153
|
+
*/
|
|
154
|
+
source_id: string;
|
|
155
|
+
/**
|
|
156
|
+
* Attachment kind, e.g. 'screenshot', 'items'.
|
|
157
|
+
*/
|
|
158
|
+
type: string;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A file returned by find.
|
|
165
|
+
*/
|
|
166
|
+
export interface RetrievalFindResponse {
|
|
167
|
+
/**
|
|
168
|
+
* ID of the file.
|
|
169
|
+
*/
|
|
170
|
+
file_id: string;
|
|
171
|
+
/**
|
|
172
|
+
* Display name of the file.
|
|
173
|
+
*/
|
|
174
|
+
file_name: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* A single grep match within a file.
|
|
178
|
+
*/
|
|
179
|
+
export interface RetrievalGrepResponse {
|
|
180
|
+
/**
|
|
181
|
+
* Matched text content.
|
|
182
|
+
*/
|
|
183
|
+
content: string;
|
|
184
|
+
/**
|
|
185
|
+
* End character offset of the match.
|
|
186
|
+
*/
|
|
187
|
+
end_char: number;
|
|
188
|
+
/**
|
|
189
|
+
* Start character offset of the match.
|
|
190
|
+
*/
|
|
191
|
+
start_char: number;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* File read result.
|
|
195
|
+
*/
|
|
196
|
+
export interface RetrievalReadResponse {
|
|
197
|
+
/**
|
|
198
|
+
* Parsed text content of the file.
|
|
199
|
+
*/
|
|
200
|
+
content: string;
|
|
201
|
+
}
|
|
202
|
+
export interface RetrievalRetrieveParams {
|
|
203
|
+
/**
|
|
204
|
+
* Body param: ID of the index to retrieve against.
|
|
205
|
+
*/
|
|
206
|
+
index_id: string;
|
|
207
|
+
/**
|
|
208
|
+
* Body param: Natural-language query to retrieve relevant chunks.
|
|
209
|
+
*/
|
|
210
|
+
query: string;
|
|
211
|
+
/**
|
|
212
|
+
* Query param
|
|
213
|
+
*/
|
|
214
|
+
organization_id?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* Query param
|
|
217
|
+
*/
|
|
218
|
+
project_id?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* Body param: Filters on user-defined metadata fields.
|
|
221
|
+
*/
|
|
222
|
+
custom_filters?: {
|
|
223
|
+
[key: string]: RetrievalRetrieveParams.FilterTypeUnionStrIntBoolFloat | Array<RetrievalRetrieveParams.UnionMember1> | null;
|
|
224
|
+
} | null;
|
|
225
|
+
/**
|
|
226
|
+
* Body param: Weight of the full-text search pipeline (0-1).
|
|
227
|
+
*/
|
|
228
|
+
full_text_pipeline_weight?: number | null;
|
|
229
|
+
/**
|
|
230
|
+
* Body param: Number of candidates for approximate nearest neighbor search.
|
|
231
|
+
*/
|
|
232
|
+
num_candidates?: number | null;
|
|
233
|
+
/**
|
|
234
|
+
* Body param: Reranking configuration applied after hybrid search. Enabled by
|
|
235
|
+
* default.
|
|
236
|
+
*/
|
|
237
|
+
rerank?: RetrievalRetrieveParams.Rerank;
|
|
238
|
+
/**
|
|
239
|
+
* Body param: Minimum score threshold for returned results.
|
|
240
|
+
*/
|
|
241
|
+
score_threshold?: number | null;
|
|
242
|
+
/**
|
|
243
|
+
* Body param: Filters on built-in document fields (page range, chunk index, etc.).
|
|
244
|
+
*/
|
|
245
|
+
static_filters?: RetrievalRetrieveParams.StaticFilters | null;
|
|
246
|
+
/**
|
|
247
|
+
* Body param: Maximum number of results to return.
|
|
248
|
+
*/
|
|
249
|
+
top_k?: number | null;
|
|
250
|
+
/**
|
|
251
|
+
* Body param: Weight of the vector search pipeline (0-1).
|
|
252
|
+
*/
|
|
253
|
+
vector_pipeline_weight?: number | null;
|
|
254
|
+
}
|
|
255
|
+
export declare namespace RetrievalRetrieveParams {
|
|
256
|
+
interface FilterTypeUnionStrIntBoolFloat {
|
|
257
|
+
operator: 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'in' | 'nin';
|
|
258
|
+
value: string | boolean | number | Array<string | boolean | number>;
|
|
259
|
+
}
|
|
260
|
+
interface UnionMember1 {
|
|
261
|
+
operator: 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'in' | 'nin';
|
|
262
|
+
value: number | Array<number>;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Reranking configuration applied after hybrid search. Enabled by default.
|
|
266
|
+
*/
|
|
267
|
+
interface Rerank {
|
|
268
|
+
/**
|
|
269
|
+
* Set to false to disable reranking.
|
|
270
|
+
*/
|
|
271
|
+
enabled?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Number of results to return after reranking.
|
|
274
|
+
*/
|
|
275
|
+
top_n?: number | null;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Filters on built-in document fields (page range, chunk index, etc.).
|
|
279
|
+
*/
|
|
280
|
+
interface StaticFilters {
|
|
281
|
+
parsed_directory_file_id?: StaticFilters.ParsedDirectoryFileID | null;
|
|
282
|
+
}
|
|
283
|
+
namespace StaticFilters {
|
|
284
|
+
interface ParsedDirectoryFileID {
|
|
285
|
+
operator: 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'in' | 'nin';
|
|
286
|
+
value: string | Array<string>;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
export interface RetrievalFindParams extends PaginatedCursorPostParams {
|
|
291
|
+
/**
|
|
292
|
+
* Body param: ID of the index to search within.
|
|
293
|
+
*/
|
|
294
|
+
index_id: string;
|
|
295
|
+
/**
|
|
296
|
+
* Query param
|
|
297
|
+
*/
|
|
298
|
+
organization_id?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* Query param
|
|
301
|
+
*/
|
|
302
|
+
project_id?: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* Body param: Exact file name to match.
|
|
305
|
+
*/
|
|
306
|
+
file_name?: string | null;
|
|
307
|
+
/**
|
|
308
|
+
* Body param: Substring match on file name (case-insensitive).
|
|
309
|
+
*/
|
|
310
|
+
file_name_contains?: string | null;
|
|
311
|
+
}
|
|
312
|
+
export interface RetrievalGrepParams extends PaginatedCursorPostParams {
|
|
313
|
+
/**
|
|
314
|
+
* Body param: ID of the file to grep.
|
|
315
|
+
*/
|
|
316
|
+
file_id: string;
|
|
317
|
+
/**
|
|
318
|
+
* Body param: ID of the index the file belongs to.
|
|
319
|
+
*/
|
|
320
|
+
index_id: string;
|
|
321
|
+
/**
|
|
322
|
+
* Body param: Regex pattern to search for.
|
|
323
|
+
*/
|
|
324
|
+
pattern: string;
|
|
325
|
+
/**
|
|
326
|
+
* Query param
|
|
327
|
+
*/
|
|
328
|
+
organization_id?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Query param
|
|
331
|
+
*/
|
|
332
|
+
project_id?: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Body param: Number of characters of context to include before and after the
|
|
335
|
+
* matched pattern in the content field of the response
|
|
336
|
+
*/
|
|
337
|
+
context_chars?: number | null;
|
|
338
|
+
}
|
|
339
|
+
export interface RetrievalReadParams {
|
|
340
|
+
/**
|
|
341
|
+
* Body param: ID of the file to read.
|
|
342
|
+
*/
|
|
343
|
+
file_id: string;
|
|
344
|
+
/**
|
|
345
|
+
* Body param: ID of the index the file belongs to.
|
|
346
|
+
*/
|
|
347
|
+
index_id: string;
|
|
348
|
+
/**
|
|
349
|
+
* Query param
|
|
350
|
+
*/
|
|
351
|
+
organization_id?: string | null;
|
|
352
|
+
/**
|
|
353
|
+
* Query param
|
|
354
|
+
*/
|
|
355
|
+
project_id?: string | null;
|
|
356
|
+
/**
|
|
357
|
+
* Body param: Maximum number of characters to read from the offset.
|
|
358
|
+
*/
|
|
359
|
+
max_length?: number | null;
|
|
360
|
+
/**
|
|
361
|
+
* Body param: Starting character offset.
|
|
362
|
+
*/
|
|
363
|
+
offset?: number;
|
|
364
|
+
}
|
|
365
|
+
export declare namespace Retrieval {
|
|
366
|
+
export { type RetrievalRetrieveResponse as RetrievalRetrieveResponse, type RetrievalFindResponse as RetrievalFindResponse, type RetrievalGrepResponse as RetrievalGrepResponse, type RetrievalReadResponse as RetrievalReadResponse, type RetrievalFindResponsesPaginatedCursorPost as RetrievalFindResponsesPaginatedCursorPost, type RetrievalGrepResponsesPaginatedCursorPost as RetrievalGrepResponsesPaginatedCursorPost, type RetrievalRetrieveParams as RetrievalRetrieveParams, type RetrievalFindParams as RetrievalFindParams, type RetrievalGrepParams as RetrievalGrepParams, type RetrievalReadParams as RetrievalReadParams, };
|
|
367
|
+
}
|
|
368
|
+
//# sourceMappingURL=retrieval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval.d.ts","sourceRoot":"","sources":["../../src/resources/beta/retrieval.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,iCAA8B;AACzG,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,SA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I,CAAC;IAE3B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Retrieval = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
7
|
+
class Retrieval extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve relevant chunks via hybrid search (vector + full-text), with filtering
|
|
10
|
+
* on built-in or user-defined metadata.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const retrieval = await client.beta.retrieval.retrieve({
|
|
15
|
+
* index_id: 'idx-abc123',
|
|
16
|
+
* query: 'What are the key findings?',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
retrieve(params, options) {
|
|
21
|
+
const { organization_id, project_id, ...body } = params;
|
|
22
|
+
return this._client.post('/api/v1/retrieval/retrieve', {
|
|
23
|
+
query: { organization_id, project_id },
|
|
24
|
+
body,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Search for files by name.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* // Automatically fetches more pages as needed.
|
|
34
|
+
* for await (const retrievalFindResponse of client.beta.retrieval.find(
|
|
35
|
+
* { index_id: 'idx-abc123' },
|
|
36
|
+
* )) {
|
|
37
|
+
* // ...
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
find(params, options) {
|
|
42
|
+
const { organization_id, project_id, ...body } = params;
|
|
43
|
+
return this._client.getAPIList('/api/v1/retrieval/files/find', (pagination_1.PaginatedCursorPost), { query: { organization_id, project_id }, body, method: 'post', ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Grep within a file's parsed content using a regex pattern.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* // Automatically fetches more pages as needed.
|
|
51
|
+
* for await (const retrievalGrepResponse of client.beta.retrieval.grep(
|
|
52
|
+
* {
|
|
53
|
+
* file_id: 'file_id',
|
|
54
|
+
* index_id: 'idx-abc123',
|
|
55
|
+
* pattern: 'revenue|profit',
|
|
56
|
+
* },
|
|
57
|
+
* )) {
|
|
58
|
+
* // ...
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
grep(params, options) {
|
|
63
|
+
const { organization_id, project_id, ...body } = params;
|
|
64
|
+
return this._client.getAPIList('/api/v1/retrieval/files/grep', (pagination_1.PaginatedCursorPost), { query: { organization_id, project_id }, body, method: 'post', ...options });
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Read the parsed text content of a specific file.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* const response = await client.beta.retrieval.read({
|
|
72
|
+
* file_id: 'file_id',
|
|
73
|
+
* index_id: 'idx-abc123',
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
read(params, options) {
|
|
78
|
+
const { organization_id, project_id, ...body } = params;
|
|
79
|
+
return this._client.post('/api/v1/retrieval/files/read', {
|
|
80
|
+
query: { organization_id, project_id },
|
|
81
|
+
body,
|
|
82
|
+
...options,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.Retrieval = Retrieval;
|
|
87
|
+
//# sourceMappingURL=retrieval.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval.js","sourceRoot":"","sources":["../../src/resources/beta/retrieval.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAyG;AAGzG,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAA+B,EAAE,OAAwB;QAChE,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,8BAA8B,EAC9B,CAAA,gCAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC7E,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,8BAA8B,EAC9B,CAAA,gCAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC7E,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAA2B,EAAE,OAAwB;QACxD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA/FD,8BA+FC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { PaginatedCursorPost } from "../../core/pagination.mjs";
|
|
4
|
+
export class Retrieval extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve relevant chunks via hybrid search (vector + full-text), with filtering
|
|
7
|
+
* on built-in or user-defined metadata.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const retrieval = await client.beta.retrieval.retrieve({
|
|
12
|
+
* index_id: 'idx-abc123',
|
|
13
|
+
* query: 'What are the key findings?',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
retrieve(params, options) {
|
|
18
|
+
const { organization_id, project_id, ...body } = params;
|
|
19
|
+
return this._client.post('/api/v1/retrieval/retrieve', {
|
|
20
|
+
query: { organization_id, project_id },
|
|
21
|
+
body,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Search for files by name.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* // Automatically fetches more pages as needed.
|
|
31
|
+
* for await (const retrievalFindResponse of client.beta.retrieval.find(
|
|
32
|
+
* { index_id: 'idx-abc123' },
|
|
33
|
+
* )) {
|
|
34
|
+
* // ...
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
find(params, options) {
|
|
39
|
+
const { organization_id, project_id, ...body } = params;
|
|
40
|
+
return this._client.getAPIList('/api/v1/retrieval/files/find', (PaginatedCursorPost), { query: { organization_id, project_id }, body, method: 'post', ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Grep within a file's parsed content using a regex pattern.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* // Automatically fetches more pages as needed.
|
|
48
|
+
* for await (const retrievalGrepResponse of client.beta.retrieval.grep(
|
|
49
|
+
* {
|
|
50
|
+
* file_id: 'file_id',
|
|
51
|
+
* index_id: 'idx-abc123',
|
|
52
|
+
* pattern: 'revenue|profit',
|
|
53
|
+
* },
|
|
54
|
+
* )) {
|
|
55
|
+
* // ...
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
grep(params, options) {
|
|
60
|
+
const { organization_id, project_id, ...body } = params;
|
|
61
|
+
return this._client.getAPIList('/api/v1/retrieval/files/grep', (PaginatedCursorPost), { query: { organization_id, project_id }, body, method: 'post', ...options });
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Read the parsed text content of a specific file.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response = await client.beta.retrieval.read({
|
|
69
|
+
* file_id: 'file_id',
|
|
70
|
+
* index_id: 'idx-abc123',
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
read(params, options) {
|
|
75
|
+
const { organization_id, project_id, ...body } = params;
|
|
76
|
+
return this._client.post('/api/v1/retrieval/files/read', {
|
|
77
|
+
query: { organization_id, project_id },
|
|
78
|
+
body,
|
|
79
|
+
...options,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=retrieval.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval.mjs","sourceRoot":"","sources":["../../src/resources/beta/retrieval.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAe,mBAAmB,EAAkC,kCAA8B;AAGzG,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAA+B,EAAE,OAAwB;QAChE,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,8BAA8B,EAC9B,CAAA,mBAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC7E,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CACF,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,8BAA8B,EAC9B,CAAA,mBAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC7E,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAA2B,EAAE,OAAwB;QACxD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -7,8 +7,8 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
7
7
|
import { PollingOptions } from "../../core/polling.mjs";
|
|
8
8
|
export declare class Sheets extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create a spreadsheet parsing job. Experimental:
|
|
11
|
-
*
|
|
10
|
+
* Create a spreadsheet parsing job. Experimental: not production-ready and subject
|
|
11
|
+
* to change.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -19,8 +19,8 @@ export declare class Sheets extends APIResource {
|
|
|
19
19
|
*/
|
|
20
20
|
create(params: SheetCreateParams, options?: RequestOptions): APIPromise<SheetsJob>;
|
|
21
21
|
/**
|
|
22
|
-
* List spreadsheet parsing jobs. Experimental:
|
|
23
|
-
*
|
|
22
|
+
* List spreadsheet parsing jobs. Experimental: not production-ready and subject to
|
|
23
|
+
* change.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
@@ -32,9 +32,8 @@ export declare class Sheets extends APIResource {
|
|
|
32
32
|
*/
|
|
33
33
|
list(query?: SheetListParams | null | undefined, options?: RequestOptions): PagePromise<SheetsJobsPaginatedCursor, SheetsJob>;
|
|
34
34
|
/**
|
|
35
|
-
* Delete a spreadsheet parsing job and its associated data. Experimental:
|
|
36
|
-
*
|
|
37
|
-
* time.
|
|
35
|
+
* Delete a spreadsheet parsing job and its associated data. Experimental: not
|
|
36
|
+
* production-ready and subject to change.
|
|
38
37
|
*
|
|
39
38
|
* @example
|
|
40
39
|
* ```ts
|
|
@@ -45,14 +44,9 @@ export declare class Sheets extends APIResource {
|
|
|
45
44
|
*/
|
|
46
45
|
deleteJob(spreadsheetJobID: string, params?: SheetDeleteJobParams | null | undefined, options?: RequestOptions): APIPromise<unknown>;
|
|
47
46
|
/**
|
|
48
|
-
* Get a spreadsheet parsing job.
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* and results if the job is complete, eliminating the need for a separate /results
|
|
52
|
-
* call.
|
|
53
|
-
*
|
|
54
|
-
* Experimental: This endpoint is not yet ready for production use and is subject
|
|
55
|
-
* to change at any time.
|
|
47
|
+
* Get a spreadsheet parsing job. When `include_results=True` (default), embeds
|
|
48
|
+
* extracted regions and results if complete, skipping the separate `/results`
|
|
49
|
+
* call. Experimental: not production-ready and subject to change.
|
|
56
50
|
*
|
|
57
51
|
* @example
|
|
58
52
|
* ```ts
|
|
@@ -64,8 +58,7 @@ export declare class Sheets extends APIResource {
|
|
|
64
58
|
get(spreadsheetJobID: string, query?: SheetGetParams | null | undefined, options?: RequestOptions): APIPromise<SheetsJob>;
|
|
65
59
|
/**
|
|
66
60
|
* Generate a presigned URL to download a specific extracted region. Experimental:
|
|
67
|
-
*
|
|
68
|
-
* any time.
|
|
61
|
+
* not production-ready and subject to change.
|
|
69
62
|
*
|
|
70
63
|
* @example
|
|
71
64
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheets.d.mts","sourceRoot":"","sources":["../../src/resources/beta/sheets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sheets.d.mts","sourceRoot":"","sources":["../../src/resources/beta/sheets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,qBAAiB;AACrC,OAAO,KAAK,UAAU,uBAAmB;AACzC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,kCAA8B;AACjG,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,OAAO,EAAqB,cAAc,EAAmB,+BAA2B;AAExF,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IASlF;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yBAAyB,EAAE,SAAS,CAAC;IAOpD;;;;;;;;;;OAUG;IACH,SAAS,CACP,g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