@or-sdk/lookup 1.24.0-beta.4066.0 → 1.24.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 +9 -0
- package/dist/types/Lookup.d.ts +0 -202
- package/dist/types/Lookup.d.ts.map +1 -1
- package/dist/types/types.d.ts +0 -598
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.24.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/lookup@1.23.1...@or-sdk/lookup@1.24.0) (2026-04-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **@or-sdk/agents:** add guardrail identifier to AgentModelOptions type ([4986f19](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/4986f196d6efeb99620d71bc8d6e2ab3ecdbd49f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [1.23.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/lookup@1.23.0...@or-sdk/lookup@1.23.1) (2026-02-25)
|
|
7
16
|
|
|
8
17
|
**Note:** Version bump only for package @or-sdk/lookup
|
package/dist/types/Lookup.d.ts
CHANGED
|
@@ -7,240 +7,38 @@ export declare class Lookup extends Base {
|
|
|
7
7
|
constructor(params: LookupConfig);
|
|
8
8
|
private makeRequest;
|
|
9
9
|
parseError(err: unknown): Error;
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the AI providers.
|
|
12
|
-
* @returns {Promise<ProvidersList>} A promise that resolves with the AI providers.
|
|
13
|
-
*/
|
|
14
10
|
getAiProviders(): Promise<ProvidersList>;
|
|
15
|
-
/**
|
|
16
|
-
* Load the document into collection.
|
|
17
|
-
* @param collectionId - The ID of the collection the document belongs to.
|
|
18
|
-
* @param params - The document loading parameters.
|
|
19
|
-
* @param [options] - The API call options.
|
|
20
|
-
* @returns The created document.
|
|
21
|
-
*/
|
|
22
11
|
loadDocument(collectionId: string, params: LoadDocument, options?: CallOptions): Promise<Document>;
|
|
23
|
-
/**
|
|
24
|
-
* @param collectionId - The ID of the collection the document belongs to.
|
|
25
|
-
* @param params - The document crawling parameters.
|
|
26
|
-
* @param [options] - The API call options.
|
|
27
|
-
*/
|
|
28
12
|
loadCrawlerDocument(collectionId: string, params: CrawlDocuments, options?: CallOptions): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Create a new collection.
|
|
31
|
-
* @param params - The collection creation parameters.
|
|
32
|
-
* @param [options={}] - The API call options.
|
|
33
|
-
* @returns The created collection.
|
|
34
|
-
*/
|
|
35
13
|
createCollection(params: CreateCollection, options?: CallOptions): Promise<Collection>;
|
|
36
|
-
/**
|
|
37
|
-
* Create a new passage within the collection.
|
|
38
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
39
|
-
* @param passage - The passage creation parameters.
|
|
40
|
-
* @param [options={}] - The API call options.
|
|
41
|
-
* @returns The created passage.
|
|
42
|
-
*/
|
|
43
14
|
createPassage<T extends Record<string, unknown>>(collectionId: string, passage: CreatePassage<T>, options?: CallOptions): Promise<Passage<T>>;
|
|
44
|
-
/**
|
|
45
|
-
* Create batch of passages within the collection.
|
|
46
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
47
|
-
* @param passages - The passages to create.
|
|
48
|
-
* @param [options={}] - The API call options.
|
|
49
|
-
*/
|
|
50
15
|
createManyPassages<T extends Record<string, unknown>>(collectionId: string, passages: CreatePassage<T>[], options?: CallOptions): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Delete a collection by ID.
|
|
53
|
-
* @param collectionId - The ID of the collection to delete.
|
|
54
|
-
* @param [options={}] - The API call options.
|
|
55
|
-
* @returns The deleted collection.
|
|
56
|
-
*/
|
|
57
16
|
deleteCollection(collectionId: string, options?: CallOptions): Promise<Collection>;
|
|
58
|
-
/**
|
|
59
|
-
* Delete a passage from a collection.
|
|
60
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
61
|
-
* @param documentId - The ID of the passage to delete.
|
|
62
|
-
* @param ids - The IDs of the passages to delete.
|
|
63
|
-
* @param [options={}] - The API call options.
|
|
64
|
-
* @returns The deleted passage.
|
|
65
|
-
*/
|
|
66
17
|
deleteManyPassages(collectionId: string, documentId: string, ids: string[], options?: CallOptions): Promise<RemoveManyPassagesResult>;
|
|
67
|
-
/**
|
|
68
|
-
* Delete a passage from a collection.
|
|
69
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
70
|
-
* @param passageId - The ID of the passage to delete.
|
|
71
|
-
* @param [options={}] - The API call options.
|
|
72
|
-
* @returns The deleted passage.
|
|
73
|
-
*/
|
|
74
18
|
deletePassage(collectionId: string, passageId: string, options?: CallOptions): Promise<DeletedPassage>;
|
|
75
|
-
/**
|
|
76
|
-
* Search for documents in a collection.
|
|
77
|
-
* @param collectionId - The ID of the collection to search in.
|
|
78
|
-
* @param params - The search parameters.
|
|
79
|
-
* @param [options={}] - The API call options.
|
|
80
|
-
* @returns An array of search results.
|
|
81
|
-
*/
|
|
82
19
|
search(collectionId: string, params: Search, options?: CallOptions): Promise<SearchResult[]>;
|
|
83
|
-
/**
|
|
84
|
-
* Ask a question and generate an answer based on the documents in a collection.
|
|
85
|
-
* @param collectionId - The ID of the collection to use for generating the answer.
|
|
86
|
-
* @param params - The ask question parameters.
|
|
87
|
-
* @param [options={}] - The API call options.
|
|
88
|
-
* @returns The generated answer and search result.
|
|
89
|
-
*/
|
|
90
20
|
ask(collectionId: string, params: Ask, options?: CallOptions): Promise<AskResults>;
|
|
91
|
-
/**
|
|
92
|
-
* Update a document's description.
|
|
93
|
-
* @param collectionId - The ID of the collection the document belongs to.
|
|
94
|
-
* @param documentId - The ID of the document to update.
|
|
95
|
-
* @param params - The update document parameters.
|
|
96
|
-
* @param [options={}] - The API call options.
|
|
97
|
-
* @returns The updated document.
|
|
98
|
-
*/
|
|
99
21
|
updateDocument(collectionId: string, documentId: string, params: UpdateDocument, options?: CallOptions): Promise<Document>;
|
|
100
|
-
/**
|
|
101
|
-
* Update a passage in a collection.
|
|
102
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
103
|
-
* @param passageId - The ID of the passage to update.
|
|
104
|
-
* @param params - The update passage parameters.
|
|
105
|
-
* @param [options={}] - The API call options.
|
|
106
|
-
* @returns The updated passage.
|
|
107
|
-
*/
|
|
108
22
|
updatePassage<T extends Record<string, unknown>>(collectionId: string, passageId: string, params: UpdatePassage<T>, options?: CallOptions): Promise<Passage<T>>;
|
|
109
|
-
/**
|
|
110
|
-
* Update a passage in a collection.
|
|
111
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
112
|
-
* @param documentId - The ID of the document.
|
|
113
|
-
* @param ids - The IDs of the document passages to update.
|
|
114
|
-
* @param params - The update passage parameters.
|
|
115
|
-
* @param [options={}] - The API call options.
|
|
116
|
-
* @returns The updated passage.
|
|
117
|
-
*/
|
|
118
23
|
updateManyPassages<T extends Record<string, unknown>>(collectionId: string, documentId: string, ids: string[], params: Record<string, unknown>, options?: CallOptions): Promise<Passage<T>[]>;
|
|
119
|
-
/**
|
|
120
|
-
* Update a collection's description.
|
|
121
|
-
* @param collectionId - The ID of the collection to update.
|
|
122
|
-
* @param params - The update collection parameters.
|
|
123
|
-
* @param [options={}] - The API call options.
|
|
124
|
-
* @returns The updated collection.
|
|
125
|
-
*/
|
|
126
24
|
updateCollection(collectionId: string, params: UpdateCollection, options?: CallOptions): Promise<Collection>;
|
|
127
|
-
/**
|
|
128
|
-
* Get a document by its ID.
|
|
129
|
-
* @param collectionId - The ID of the collection the document belongs to.
|
|
130
|
-
* @param documentId - The ID of the document to retrieve.
|
|
131
|
-
* @param [options={}] - The API call options.
|
|
132
|
-
* @returns The retrieved document.
|
|
133
|
-
*/
|
|
134
25
|
getDocument(collectionId: string, documentId: string, options?: CallOptions): Promise<Document>;
|
|
135
|
-
/**
|
|
136
|
-
* Get a collection by its ID.
|
|
137
|
-
* @param collectionId - The ID of the collection to retrieve.
|
|
138
|
-
* @param [options={}] - The API call options.
|
|
139
|
-
* @returns The retrieved collection.
|
|
140
|
-
*/
|
|
141
26
|
getCollection(collectionId: string, options?: CallOptions): Promise<Collection>;
|
|
142
|
-
/**
|
|
143
|
-
* Get a single passage from a collection.
|
|
144
|
-
* @param collectionId - The ID of the collection the passage belongs to.
|
|
145
|
-
* @param passageId - The ID of the passage to retrieve.
|
|
146
|
-
* @param [options={}] - The API call options.
|
|
147
|
-
* @returns The retrieved passage.
|
|
148
|
-
*/
|
|
149
27
|
getPassage<T extends Record<string, unknown>>(collectionId: string, passageId: string, options?: CallOptions & {
|
|
150
28
|
params?: {
|
|
151
29
|
vector: boolean;
|
|
152
30
|
};
|
|
153
31
|
}): Promise<Passage<T>>;
|
|
154
|
-
/**
|
|
155
|
-
* Add a custom property to an existing collection.
|
|
156
|
-
* Custom properties can be used to store additional metadata about the collection or its passages.
|
|
157
|
-
* The available data types for properties can be found https://weaviate.io/developers/weaviate/config-refs/datatypes.
|
|
158
|
-
* Note that there are reserved property names:
|
|
159
|
-
* ['accountId', 'collection', 'document', 'content', 'loaderMetadata', 'sourceUrl']
|
|
160
|
-
* @param collectionId - The ID of the collection to add the property to.
|
|
161
|
-
* @param property - The property to add to the collection.
|
|
162
|
-
* @param [options={}] - The API call options.
|
|
163
|
-
* @returns A promise that resolves when the property has been added.
|
|
164
|
-
*/
|
|
165
32
|
addProperty(collectionId: string, property: Property, options?: CallOptions): Promise<void>;
|
|
166
|
-
/**
|
|
167
|
-
* List all documents in a collection with optional pagination and query.
|
|
168
|
-
* @param collectionId - The ID of the collection to retrieve documents from.
|
|
169
|
-
* @param find - Optional find parameters.
|
|
170
|
-
* @param [options={}] - The API call options.
|
|
171
|
-
* @returns An array of documents.
|
|
172
|
-
*/
|
|
173
33
|
listDocuments(collectionId: string, params?: Find, options?: CallOptions): Promise<List<Document>>;
|
|
174
|
-
/**
|
|
175
|
-
* List collections with optional pagination and query.
|
|
176
|
-
* @param params - Optional find parameters.
|
|
177
|
-
* @param [options={}] - The API call options.
|
|
178
|
-
* @returns An array of collections.
|
|
179
|
-
*/
|
|
180
34
|
listCollections(params?: Find, options?: CallOptions): Promise<List<Collection>>;
|
|
181
|
-
/**
|
|
182
|
-
* List all passages in a collection with optional pagination and query.
|
|
183
|
-
* @param collectionId - The ID of the collection to retrieve passages from.
|
|
184
|
-
* @param params - Optional find parameters.
|
|
185
|
-
* @param [options={}] - The API call options.
|
|
186
|
-
* @returns An array of passages.
|
|
187
|
-
*/
|
|
188
35
|
listPassages<T extends Record<string, unknown>>(collectionId: string, params?: FindPassages, options?: CallOptions): Promise<List<Passage<T>>>;
|
|
189
|
-
/**
|
|
190
|
-
* List all passages in a document with optional pagination, query, and ordering.
|
|
191
|
-
* @param collectionId - The ID of the collection containing the document.
|
|
192
|
-
* @param documentId - The ID of the document to retrieve passages from.
|
|
193
|
-
* @param find - Optional find parameters.
|
|
194
|
-
* @param [options={}] - The API call options.
|
|
195
|
-
* @returns An array of passages with pagination info.
|
|
196
|
-
*/
|
|
197
36
|
listPassagesInDocument<T extends Record<string, unknown>>(collectionId: string, documentId: string, find?: FindPassages, options?: CallOptions): Promise<List<Passage<T>>>;
|
|
198
|
-
/**
|
|
199
|
-
* Delete a document from a collection.
|
|
200
|
-
* @param collectionId - The ID of the collection to delete the document from.
|
|
201
|
-
* @param documentId - The ID of the document to delete.
|
|
202
|
-
* @param [options={}] - The API call options.
|
|
203
|
-
* @returns The deleted document.
|
|
204
|
-
*/
|
|
205
37
|
deleteDocument(collectionId: string, documentId: string, options?: CallOptions): Promise<Document>;
|
|
206
|
-
/**
|
|
207
|
-
* Delete multiple documents from a collection.
|
|
208
|
-
@param collectionId - The ID of the collection to delete the document from.
|
|
209
|
-
* @param ids - The ID of the collection to delete the document from.
|
|
210
|
-
* @param [options={}] - The API call options.
|
|
211
|
-
* @returns IDs of deleted documents and passages.
|
|
212
|
-
*/
|
|
213
38
|
deleteManyDocuments(collectionId: string, ids: string[], options?: CallOptions): Promise<RemoveManyDocumentsResult>;
|
|
214
|
-
/**
|
|
215
|
-
* Backup a collection.
|
|
216
|
-
* @param collectionId - The ID of the collection to backup.
|
|
217
|
-
* @param params - The backup parameters.
|
|
218
|
-
* @param [options={}] - The API call options.
|
|
219
|
-
* @returns A response indicating the success of the operation.
|
|
220
|
-
*/
|
|
221
39
|
backupCollection(collectionId: string, params: Backup, options?: CallOptions): Promise<void>;
|
|
222
|
-
/**
|
|
223
|
-
* Restore a collection.
|
|
224
|
-
* @param params - The restoration parameters.
|
|
225
|
-
* @param [options={}] - The API call options.
|
|
226
|
-
* @returns The restored collection information.
|
|
227
|
-
*/
|
|
228
40
|
restoreCollection(params: Restore, options?: CallOptions): Promise<void>;
|
|
229
|
-
/**
|
|
230
|
-
* Split a long text into smaller chunks
|
|
231
|
-
* @param dataToSplit - data to split
|
|
232
|
-
* @param dataToSplit.text - text content that will be divided
|
|
233
|
-
* @param dataToSplit.chunkSize - configure the size of each chunk
|
|
234
|
-
* @param dataToSplit.chunkOverlap - configure chunks overlap value
|
|
235
|
-
* @param [options={}] - The API call options.
|
|
236
|
-
* @returns The array of text chunks
|
|
237
|
-
*/
|
|
238
41
|
splitText(dataToSplit: TextSplitterRequest, options?: CallOptions): Promise<TextSplitterResult>;
|
|
239
|
-
/**
|
|
240
|
-
* Set the session ID.
|
|
241
|
-
* @param sessionId - The session ID to set.
|
|
242
|
-
* @returns The session ID.
|
|
243
|
-
*/
|
|
244
42
|
setSessionId(sessionId: string): string;
|
|
245
43
|
}
|
|
246
44
|
//# sourceMappingURL=Lookup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Lookup.d.ts","sourceRoot":"","sources":["../../src/Lookup.ts"],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AM,EAClB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,QAAQ,CAAC;IAiBd,mBAAmB,CACvB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,MAAM,EAAE,EACb,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,yBAAyB,CAAC;IAiB/B,gBAAgB,CACpB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC;IAeV,iBAAiB,CACrB,MAAM,EAAE,OAAO,EACf,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC;IAkBV,SAAS,CAAC,WAAW,EAAE,mBAAmB,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAczG,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAIxC"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -5,279 +5,81 @@ export type CallOptions = {
|
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
};
|
|
7
7
|
export type LookupConfig = {
|
|
8
|
-
/**
|
|
9
|
-
* token
|
|
10
|
-
*/
|
|
11
8
|
token: Token;
|
|
12
|
-
/**
|
|
13
|
-
* Url of OneReach service discovery api
|
|
14
|
-
*/
|
|
15
9
|
discoveryUrl?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Account ID for cross-account requests (super admin only)
|
|
18
|
-
*/
|
|
19
10
|
accountId?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Url of OneReach lookup api
|
|
22
|
-
*/
|
|
23
11
|
serviceUrl?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Feature name, default: 'master'
|
|
26
|
-
*/
|
|
27
12
|
feature?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Flow SessionID (Used for correct tracking)
|
|
30
|
-
*/
|
|
31
13
|
sessionId?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Flow beginningSessionId (Used for correct tracking)
|
|
34
|
-
*/
|
|
35
14
|
beginningSessionId?: string;
|
|
36
15
|
};
|
|
37
|
-
/**
|
|
38
|
-
* Document creation parameters
|
|
39
|
-
*/
|
|
40
16
|
export type LoadDocument = {
|
|
41
|
-
/**
|
|
42
|
-
* Document name
|
|
43
|
-
*/
|
|
44
17
|
name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Document URL
|
|
47
|
-
*/
|
|
48
18
|
url?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Document description
|
|
51
|
-
*/
|
|
52
19
|
description?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Default custom properties for document passages.
|
|
55
|
-
* Note that these properties should be listed in collection properties
|
|
56
|
-
*/
|
|
57
20
|
defaultProperties: Record<string, unknown>;
|
|
58
21
|
};
|
|
59
|
-
/**
|
|
60
|
-
* Documents crawl creation parameters
|
|
61
|
-
*/
|
|
62
22
|
export type CrawlDocuments = {
|
|
63
|
-
/**
|
|
64
|
-
* Document URL
|
|
65
|
-
*/
|
|
66
23
|
url: string;
|
|
67
|
-
/**
|
|
68
|
-
* Searchable prefix
|
|
69
|
-
*/
|
|
70
24
|
prefix: string;
|
|
71
|
-
/**
|
|
72
|
-
* Limit for documents creation
|
|
73
|
-
*/
|
|
74
25
|
limit: number;
|
|
75
|
-
/**
|
|
76
|
-
* Default custom properties for documents.
|
|
77
|
-
* Note that these properties should be listed in collection properties
|
|
78
|
-
*/
|
|
79
26
|
defaultProperties: Record<string, unknown>;
|
|
80
27
|
};
|
|
81
28
|
export type Property = {
|
|
82
|
-
/**
|
|
83
|
-
* Property name. e.g. `nameOfTheAuthor`
|
|
84
|
-
*/
|
|
85
29
|
name: string;
|
|
86
|
-
/**
|
|
87
|
-
* Property type. See https://weaviate.io/developers/weaviate/config-refs/schema#datatypes for the available types
|
|
88
|
-
*/
|
|
89
30
|
dataType: string;
|
|
90
|
-
/**
|
|
91
|
-
* Property description
|
|
92
|
-
*/
|
|
93
31
|
description?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Nested properties only for object dataType properties
|
|
96
|
-
*/
|
|
97
32
|
nestedProperties?: Property[];
|
|
98
|
-
/**
|
|
99
|
-
* custom property vectorization, use OpenAI API to vectorize the property
|
|
100
|
-
*/
|
|
101
33
|
vectorize?: boolean;
|
|
102
34
|
};
|
|
103
|
-
/**
|
|
104
|
-
* Search parameters
|
|
105
|
-
*/
|
|
106
35
|
export type Search = {
|
|
107
|
-
/**
|
|
108
|
-
* Search query
|
|
109
|
-
*/
|
|
110
36
|
query: string;
|
|
111
|
-
/**
|
|
112
|
-
* Limit the number of results.
|
|
113
|
-
*/
|
|
114
37
|
limit?: number;
|
|
115
|
-
/**
|
|
116
|
-
* Offset for the results.
|
|
117
|
-
*/
|
|
118
38
|
offset?: number;
|
|
119
|
-
/**
|
|
120
|
-
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
121
|
-
*/
|
|
122
39
|
where?: Record<string, unknown>;
|
|
123
|
-
/**
|
|
124
|
-
* Array of the custom properties to select.
|
|
125
|
-
*/
|
|
126
40
|
select?: string[];
|
|
127
|
-
/**
|
|
128
|
-
* Filter out passages that are further than maxDistance from the question or context by cosine metric.
|
|
129
|
-
* Default: 0
|
|
130
|
-
* Range: 0 - 1
|
|
131
|
-
*/
|
|
132
41
|
maxDistance?: number;
|
|
133
|
-
/**
|
|
134
|
-
* Custom vector for search, in this case embeddingProvider and embeddingModel are ignored
|
|
135
|
-
*/
|
|
136
42
|
vector?: number[];
|
|
137
|
-
/**
|
|
138
|
-
* Alpha parameter for hybrid search to balance between vector and keyword search.
|
|
139
|
-
* 0.0 means keyword-only search, 1.0 means vector-only search.
|
|
140
|
-
* Default: 1
|
|
141
|
-
* Range: 0 - 1
|
|
142
|
-
*/
|
|
143
43
|
alpha?: number;
|
|
144
44
|
};
|
|
145
45
|
export type MessageRole = 'user' | 'assistant';
|
|
146
46
|
export type AskMode = 'conversation' | 'ask';
|
|
147
|
-
/**
|
|
148
|
-
* Message data for completion request
|
|
149
|
-
*/
|
|
150
47
|
export type CompletionRequestMessage = {
|
|
151
|
-
/**
|
|
152
|
-
* Role of the message sender (either "user" or "assistant")
|
|
153
|
-
*/
|
|
154
48
|
role: MessageRole;
|
|
155
|
-
/**
|
|
156
|
-
* Content of the message
|
|
157
|
-
*/
|
|
158
49
|
content: string;
|
|
159
50
|
};
|
|
160
|
-
/**
|
|
161
|
-
* Ask question parameters
|
|
162
|
-
*/
|
|
163
51
|
export type Ask = {
|
|
164
|
-
/**
|
|
165
|
-
* Question to ask
|
|
166
|
-
*/
|
|
167
52
|
question: string;
|
|
168
|
-
/**
|
|
169
|
-
* Previous chat messages
|
|
170
|
-
* Default: []
|
|
171
|
-
*/
|
|
172
53
|
messages?: CompletionRequestMessage[];
|
|
173
|
-
/**
|
|
174
|
-
* Limit the number of results.
|
|
175
|
-
* Default: 5
|
|
176
|
-
* Range: 1 - 100
|
|
177
|
-
*/
|
|
178
54
|
limit?: number;
|
|
179
|
-
/**
|
|
180
|
-
* Offset for the results.
|
|
181
|
-
*/
|
|
182
55
|
offset?: number;
|
|
183
|
-
/**
|
|
184
|
-
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
185
|
-
* Optional
|
|
186
|
-
*/
|
|
187
56
|
where?: Record<string, unknown>;
|
|
188
|
-
/**
|
|
189
|
-
* Array of the custom properties to select.
|
|
190
|
-
* Optional
|
|
191
|
-
*/
|
|
192
57
|
select?: string[];
|
|
193
|
-
/**
|
|
194
|
-
* Question mode.
|
|
195
|
-
* Default: 'conversation'
|
|
196
|
-
* Values: 'conversation', 'ask'
|
|
197
|
-
*/
|
|
198
58
|
mode?: AskMode;
|
|
199
|
-
/**
|
|
200
|
-
* A summarization instruction used to generate correct answer.
|
|
201
|
-
* Maximum Length: 1000 characters
|
|
202
|
-
* Optional
|
|
203
|
-
*/
|
|
204
59
|
answerInstruction?: string | null;
|
|
205
|
-
/**
|
|
206
|
-
* A summarization instruction used to generate correct search query.
|
|
207
|
-
* Maximum Length: 1000 characters
|
|
208
|
-
* Optional
|
|
209
|
-
*/
|
|
210
60
|
questionInstruction?: string | null;
|
|
211
|
-
/**
|
|
212
|
-
* What sampling temperature to use.
|
|
213
|
-
* Default: 1
|
|
214
|
-
* Range: 0 - 2
|
|
215
|
-
*/
|
|
216
61
|
temperature?: number;
|
|
217
|
-
/**
|
|
218
|
-
* Maximum output length from the LLM
|
|
219
|
-
* Default: 1024
|
|
220
|
-
* Range: 128 - 2048
|
|
221
|
-
*/
|
|
222
62
|
maxTokens?: number;
|
|
223
|
-
/**
|
|
224
|
-
* Positive values penalize new tokens based on their existing frequency in the text so far.
|
|
225
|
-
* Default: 0
|
|
226
|
-
* Range: -2 - 2
|
|
227
|
-
*/
|
|
228
63
|
frequencyPenalty?: number;
|
|
229
|
-
/**
|
|
230
|
-
* Penalize new tokens based on whether they appear in the text so far.
|
|
231
|
-
* Default: 0
|
|
232
|
-
* Range: -2 - 2
|
|
233
|
-
*/
|
|
234
64
|
presencePenalty?: number;
|
|
235
|
-
/**
|
|
236
|
-
* Filter out passages that are further than maxDistance from the question or context by cosine metric.
|
|
237
|
-
* Default: 0
|
|
238
|
-
* Range: 0 - 1
|
|
239
|
-
*/
|
|
240
65
|
maxDistance?: number;
|
|
241
|
-
/**
|
|
242
|
-
* Prompt provider (Optional)
|
|
243
|
-
* Maximum length: 64
|
|
244
|
-
*/
|
|
245
66
|
promptProvider?: string;
|
|
246
|
-
/**
|
|
247
|
-
* Large language model name (Optional)
|
|
248
|
-
* Maximum length: 64
|
|
249
|
-
*/
|
|
250
67
|
promptModel?: string;
|
|
251
|
-
/**
|
|
252
|
-
* Token name for the prompt
|
|
253
|
-
*/
|
|
254
68
|
promptTokenName?: string;
|
|
255
|
-
/**
|
|
256
|
-
* Prompt guardrail identifier.
|
|
257
|
-
*/
|
|
258
69
|
promptGuardrailIdentifier?: string;
|
|
259
70
|
};
|
|
260
|
-
/**
|
|
261
|
-
* DocumentStatus represents the loading status of a document.
|
|
262
|
-
*/
|
|
263
71
|
export declare enum DocumentStatus {
|
|
264
72
|
NEW = "NEW",
|
|
265
73
|
LOADING = "LOADING",
|
|
266
74
|
READY = "READY",
|
|
267
75
|
ERROR = "ERROR"
|
|
268
76
|
}
|
|
269
|
-
/**
|
|
270
|
-
* BackupStatus represents the backup status of a collection.
|
|
271
|
-
*/
|
|
272
77
|
export declare enum BackupStatus {
|
|
273
78
|
BACKUP = "BACKUP",
|
|
274
79
|
RESTORE = "RESTORE",
|
|
275
80
|
READY = "READY",
|
|
276
81
|
ERROR = "ERROR"
|
|
277
82
|
}
|
|
278
|
-
/**
|
|
279
|
-
* CollectionType represents the type of a collection.
|
|
280
|
-
*/
|
|
281
83
|
export declare enum CollectionType {
|
|
282
84
|
DEFAULT = "DEFAULT",
|
|
283
85
|
QNA_V1 = "QNA_V1",
|
|
@@ -285,547 +87,147 @@ export declare enum CollectionType {
|
|
|
285
87
|
CUSTOM = "CUSTOM"
|
|
286
88
|
}
|
|
287
89
|
export type DocumentProperty = {
|
|
288
|
-
/**
|
|
289
|
-
* Property name. e.g. `nameOfTheAuthor`
|
|
290
|
-
*/
|
|
291
90
|
name: string;
|
|
292
|
-
/**
|
|
293
|
-
* Property value
|
|
294
|
-
*/
|
|
295
91
|
value?: unknown;
|
|
296
92
|
};
|
|
297
|
-
/**
|
|
298
|
-
* Document represents a document object.
|
|
299
|
-
*/
|
|
300
93
|
export type Document = {
|
|
301
|
-
/**
|
|
302
|
-
* Document ID
|
|
303
|
-
*/
|
|
304
94
|
id: string;
|
|
305
|
-
/**
|
|
306
|
-
* Collection ID
|
|
307
|
-
*/
|
|
308
95
|
collection: string;
|
|
309
|
-
/**
|
|
310
|
-
* Document name
|
|
311
|
-
*/
|
|
312
96
|
name: string;
|
|
313
|
-
/**
|
|
314
|
-
* Document description
|
|
315
|
-
*/
|
|
316
97
|
description: string;
|
|
317
|
-
/**
|
|
318
|
-
* List of document properties
|
|
319
|
-
*/
|
|
320
98
|
properties?: DocumentProperty[];
|
|
321
|
-
/**
|
|
322
|
-
* Document loading status or error message
|
|
323
|
-
*/
|
|
324
99
|
status: DocumentStatus | string;
|
|
325
|
-
/**
|
|
326
|
-
* Creation Date
|
|
327
|
-
*/
|
|
328
100
|
createdAt: string;
|
|
329
|
-
/**
|
|
330
|
-
* Updating Date
|
|
331
|
-
*/
|
|
332
101
|
updatedAt: string;
|
|
333
|
-
/**
|
|
334
|
-
* Number of passages in the document.
|
|
335
|
-
*/
|
|
336
102
|
countPassages?: number;
|
|
337
|
-
/**
|
|
338
|
-
* The URL of the source this document is downloaded from if provided.
|
|
339
|
-
*/
|
|
340
103
|
sourceUrl?: string;
|
|
341
104
|
};
|
|
342
|
-
/**
|
|
343
|
-
* Collection represents a collection object.
|
|
344
|
-
*/
|
|
345
105
|
export type Collection = {
|
|
346
|
-
/**
|
|
347
|
-
* Collection ID
|
|
348
|
-
*/
|
|
349
106
|
id: string;
|
|
350
|
-
/**
|
|
351
|
-
* Account ID
|
|
352
|
-
*/
|
|
353
107
|
accountId: string;
|
|
354
|
-
/**
|
|
355
|
-
* Collection name
|
|
356
|
-
* Can start only with a letter.
|
|
357
|
-
* Minimum length: 5, Maximum length: 100
|
|
358
|
-
*/
|
|
359
108
|
name: string;
|
|
360
|
-
/**
|
|
361
|
-
* Collection description (Optional)
|
|
362
|
-
* Minimum length: 3, Maximum length: 500
|
|
363
|
-
*/
|
|
364
109
|
description?: string;
|
|
365
|
-
/**
|
|
366
|
-
* Collection backup/restore status
|
|
367
|
-
*/
|
|
368
110
|
status?: BackupStatus | string;
|
|
369
|
-
/**
|
|
370
|
-
* A collection thumbnail image URL (Optional)
|
|
371
|
-
* Minimum length: 3, Maximum length: 2048
|
|
372
|
-
*/
|
|
373
111
|
imageUrl?: string;
|
|
374
|
-
/**
|
|
375
|
-
* A summarization instruction used to generate a correct answer (Optional)
|
|
376
|
-
* Maximum length: 1000
|
|
377
|
-
*/
|
|
378
112
|
answerInstruction?: string | null;
|
|
379
|
-
/**
|
|
380
|
-
* A summarization instruction used to generate a correct search query (Optional)
|
|
381
|
-
* Maximum length: 1000
|
|
382
|
-
*/
|
|
383
113
|
questionInstruction?: string | null;
|
|
384
|
-
/**
|
|
385
|
-
* A summarization instruction used to generate a correct first message (Optional)
|
|
386
|
-
* Maximum length: 1000
|
|
387
|
-
*/
|
|
388
114
|
greetingInstruction?: string | null;
|
|
389
|
-
/**
|
|
390
|
-
* Custom properties (Optional)
|
|
391
|
-
* Type: Array<Property>
|
|
392
|
-
*/
|
|
393
115
|
properties?: Property[];
|
|
394
|
-
/**
|
|
395
|
-
* Creation Date
|
|
396
|
-
*/
|
|
397
116
|
createdAt: string | Date;
|
|
398
|
-
/**
|
|
399
|
-
* Updating Date
|
|
400
|
-
*/
|
|
401
117
|
updatedAt: string | Date;
|
|
402
|
-
/**
|
|
403
|
-
* What sampling temperature to use.
|
|
404
|
-
* Minimum value: 0, Maximum value: 2
|
|
405
|
-
*/
|
|
406
118
|
temperature?: number;
|
|
407
|
-
/**
|
|
408
|
-
* Max output length from the LLM
|
|
409
|
-
* Minimum value: 128, Maximum value: 2048
|
|
410
|
-
*/
|
|
411
119
|
maxTokens?: number;
|
|
412
|
-
/**
|
|
413
|
-
* Max number of passages returned in result
|
|
414
|
-
* Minimum value: 1
|
|
415
|
-
*/
|
|
416
120
|
limit?: number;
|
|
417
|
-
/**
|
|
418
|
-
* Hybrid search
|
|
419
|
-
* Minimum value: 0
|
|
420
|
-
* Maximum value: 1
|
|
421
|
-
*/
|
|
422
121
|
alpha?: number;
|
|
423
|
-
/**
|
|
424
|
-
* Positive values penalize new tokens based on their existing frequency in the text so far.
|
|
425
|
-
* Minimum value: -2, Maximum value: 2
|
|
426
|
-
*/
|
|
427
122
|
frequencyPenalty?: number;
|
|
428
|
-
/**
|
|
429
|
-
* Penalize new tokens based on whether they appear in the text so far.
|
|
430
|
-
* Minimum value: -2, Maximum value: 2
|
|
431
|
-
*/
|
|
432
123
|
presencePenalty?: number;
|
|
433
|
-
/**
|
|
434
|
-
* Filter out passages that are further then maxDistance from the question or context by cosine metric.
|
|
435
|
-
* Minimum value: 0, Maximum value: 1
|
|
436
|
-
*/
|
|
437
124
|
maxDistance?: number;
|
|
438
|
-
/**
|
|
439
|
-
* @deprecated Use `promptModel` instead.
|
|
440
|
-
*/
|
|
441
125
|
modelName?: string;
|
|
442
|
-
/**
|
|
443
|
-
* Ai token name from account settings (Optional)
|
|
444
|
-
*/
|
|
445
126
|
promptTokenName?: string;
|
|
446
|
-
/**
|
|
447
|
-
* Prompt provider.
|
|
448
|
-
*/
|
|
449
127
|
promptProvider?: string;
|
|
450
|
-
/**
|
|
451
|
-
* Large language model name.
|
|
452
|
-
*/
|
|
453
128
|
promptModel?: string;
|
|
454
|
-
/**
|
|
455
|
-
* Prompt guardrail identifier.
|
|
456
|
-
*/
|
|
457
129
|
promptGuardrailIdentifier?: string;
|
|
458
|
-
/**
|
|
459
|
-
* Ai token name from account settings (Optional)
|
|
460
|
-
*/
|
|
461
130
|
embeddingTokenName?: string;
|
|
462
|
-
/**
|
|
463
|
-
* Embedding provider.
|
|
464
|
-
*/
|
|
465
131
|
embeddingProvider?: string;
|
|
466
|
-
/**
|
|
467
|
-
* Embedding model name.
|
|
468
|
-
*/
|
|
469
132
|
embeddingModel?: string;
|
|
470
|
-
/**
|
|
471
|
-
* Embedding guardrail identifier.
|
|
472
|
-
*/
|
|
473
133
|
embeddingGuardrailIdentifier?: string;
|
|
474
|
-
/**
|
|
475
|
-
* Number of passages in the collection.
|
|
476
|
-
*/
|
|
477
134
|
countPassages?: number;
|
|
478
|
-
/**
|
|
479
|
-
* Number of documents in the collection.
|
|
480
|
-
*/
|
|
481
135
|
countDocs?: number;
|
|
482
|
-
/**
|
|
483
|
-
* Collection type, it will be used for specific document loading post-processing. (Optional)
|
|
484
|
-
*/
|
|
485
136
|
type?: CollectionType;
|
|
486
|
-
/**
|
|
487
|
-
* Top-p (nucleus): The cumulative probability cutoff for token selection.
|
|
488
|
-
* Lower values mean sampling from a smaller, more top-weighted nucleus.
|
|
489
|
-
*/
|
|
490
137
|
topP?: number;
|
|
491
|
-
/**
|
|
492
|
-
* Top-k: Sample from the k most likely next tokens at each step.
|
|
493
|
-
* Lower k focuses on higher probability tokens.
|
|
494
|
-
*/
|
|
495
138
|
topK?: number;
|
|
496
139
|
};
|
|
497
|
-
/**
|
|
498
|
-
* SearchResult represents a document found as a result of a search query.
|
|
499
|
-
*/
|
|
500
140
|
export type SearchResult = {
|
|
501
|
-
/**
|
|
502
|
-
* Found passage ID
|
|
503
|
-
*/
|
|
504
141
|
id: string;
|
|
505
|
-
/**
|
|
506
|
-
* Cosine distance between search query and result.
|
|
507
|
-
*/
|
|
508
142
|
distance: string;
|
|
509
|
-
/**
|
|
510
|
-
* Found passage content.
|
|
511
|
-
*/
|
|
512
143
|
content: string;
|
|
513
|
-
/**
|
|
514
|
-
* SourceUrl
|
|
515
|
-
*/
|
|
516
144
|
sourceUrl: string;
|
|
517
|
-
/**
|
|
518
|
-
* Found passage metadata.
|
|
519
|
-
*/
|
|
520
145
|
loaderMetadata: Record<string, unknown>;
|
|
521
|
-
/**
|
|
522
|
-
* Found passage metadata.
|
|
523
|
-
*/
|
|
524
146
|
document: {
|
|
525
147
|
id: string;
|
|
526
148
|
name: string;
|
|
527
149
|
};
|
|
528
|
-
/**
|
|
529
|
-
* Used properties in search.
|
|
530
|
-
*/
|
|
531
150
|
select: string[];
|
|
532
151
|
};
|
|
533
|
-
/**
|
|
534
|
-
* AskResults represents the response from an ask question query.
|
|
535
|
-
*/
|
|
536
152
|
export type AskResults = {
|
|
537
|
-
/**
|
|
538
|
-
* Generated answer from the chat completion.
|
|
539
|
-
*/
|
|
540
153
|
result: CompletionRequestMessage;
|
|
541
|
-
/**
|
|
542
|
-
* Search result for the input question.
|
|
543
|
-
*/
|
|
544
154
|
searchResult: SearchResult;
|
|
545
|
-
/**
|
|
546
|
-
* Used properties in search.
|
|
547
|
-
*/
|
|
548
155
|
select: string[];
|
|
549
156
|
};
|
|
550
|
-
/**
|
|
551
|
-
* UpdateDocument parameters
|
|
552
|
-
*/
|
|
553
157
|
export type UpdateDocument = {
|
|
554
|
-
/**
|
|
555
|
-
* Document name
|
|
556
|
-
*/
|
|
557
158
|
name?: string;
|
|
558
|
-
/**
|
|
559
|
-
* Document description
|
|
560
|
-
*/
|
|
561
159
|
description?: string;
|
|
562
|
-
/**
|
|
563
|
-
* Document status or loading error message
|
|
564
|
-
*/
|
|
565
160
|
status?: DocumentStatus | string;
|
|
566
|
-
/**
|
|
567
|
-
* Custom properties for document.
|
|
568
|
-
* Note that these properties should be listed in document properties
|
|
569
|
-
*/
|
|
570
161
|
properties?: DocumentProperty[];
|
|
571
162
|
};
|
|
572
|
-
/**
|
|
573
|
-
* CreateCollection parameters
|
|
574
|
-
*/
|
|
575
163
|
export type CreateCollection = UpdateCollection & {
|
|
576
|
-
/**
|
|
577
|
-
* Custom properties (Optional)
|
|
578
|
-
* Type: Array<Property>
|
|
579
|
-
*/
|
|
580
164
|
properties?: Property[];
|
|
581
|
-
/**
|
|
582
|
-
* Collection type, it will be used for specific document loading post-processing. (Optional)
|
|
583
|
-
*/
|
|
584
165
|
type?: CollectionType;
|
|
585
|
-
/**
|
|
586
|
-
* Prompt provider (Optional)
|
|
587
|
-
* Maximum length: 64
|
|
588
|
-
*/
|
|
589
166
|
embeddingProvider?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Prompt provider (Optional)
|
|
592
|
-
* Maximum length: 64
|
|
593
|
-
*/
|
|
594
167
|
embeddingModel?: string;
|
|
595
168
|
};
|
|
596
|
-
/**
|
|
597
|
-
* UpdateCollection parameters
|
|
598
|
-
*/
|
|
599
169
|
export type UpdateCollection = {
|
|
600
|
-
/**
|
|
601
|
-
* Collection name
|
|
602
|
-
* Can start only with a letter.
|
|
603
|
-
* Minimum length: 5, Maximum length: 100
|
|
604
|
-
*/
|
|
605
170
|
name?: string;
|
|
606
|
-
/**
|
|
607
|
-
* Collection description (Optional)
|
|
608
|
-
* Minimum length: 3, Maximum length: 500
|
|
609
|
-
*/
|
|
610
171
|
description?: string;
|
|
611
|
-
/**
|
|
612
|
-
* A collection thumbnail image URL (Optional)
|
|
613
|
-
* Minimum length: 3, Maximum length: 2048
|
|
614
|
-
*/
|
|
615
172
|
imageUrl?: string;
|
|
616
|
-
/**
|
|
617
|
-
* A summarization instruction used to generate a correct answer (Optional)
|
|
618
|
-
* Maximum length: 1000
|
|
619
|
-
*/
|
|
620
173
|
answerInstruction?: string;
|
|
621
|
-
/**
|
|
622
|
-
* A summarization instruction used to generate a correct search query (Optional)
|
|
623
|
-
* Maximum length: 1000
|
|
624
|
-
*/
|
|
625
174
|
questionInstruction?: string;
|
|
626
|
-
/**
|
|
627
|
-
* A summarization instruction used to generate a correct first message (Optional)
|
|
628
|
-
* Maximum length: 1000
|
|
629
|
-
*/
|
|
630
175
|
greetingInstruction?: string;
|
|
631
|
-
/**
|
|
632
|
-
* What sampling temperature to use (Optional)
|
|
633
|
-
* Default value: 1, Range: [0, 2]
|
|
634
|
-
*/
|
|
635
176
|
temperature?: number;
|
|
636
|
-
/**
|
|
637
|
-
* Max output length from the LLM (Optional)
|
|
638
|
-
* Range: [128, 2048]
|
|
639
|
-
*/
|
|
640
177
|
maxTokens?: number;
|
|
641
|
-
/**
|
|
642
|
-
* Positive values penalize new tokens based on their existing frequency in the text so far (Optional)
|
|
643
|
-
* Range: [-2, 2]
|
|
644
|
-
*/
|
|
645
178
|
frequencyPenalty?: number;
|
|
646
|
-
/**
|
|
647
|
-
* Penalize new tokens based on whether they appear in the text so far (Optional)
|
|
648
|
-
* Range: [-2, 2]
|
|
649
|
-
*/
|
|
650
179
|
presencePenalty?: number;
|
|
651
|
-
/**
|
|
652
|
-
* Filter out passages that are further then maxDistance from the question or context by
|
|
653
|
-
* cosine metric (Optional)
|
|
654
|
-
* Range: [0, 1]
|
|
655
|
-
*/
|
|
656
180
|
maxDistance?: number;
|
|
657
|
-
/**
|
|
658
|
-
* Large language model name (Optional)
|
|
659
|
-
* Maximum length: 64
|
|
660
|
-
* @deprecated Use `promptModel` instead.
|
|
661
|
-
*/
|
|
662
181
|
modelName?: string;
|
|
663
|
-
/**
|
|
664
|
-
* Ai token name from account settings (Optional)
|
|
665
|
-
*/
|
|
666
182
|
promptTokenName?: string;
|
|
667
|
-
/**
|
|
668
|
-
* Prompt guardrail identifier.
|
|
669
|
-
*/
|
|
670
183
|
promptGuardrailIdentifier?: string;
|
|
671
|
-
/**
|
|
672
|
-
* Prompt provider (Optional)
|
|
673
|
-
* Maximum length: 64
|
|
674
|
-
*/
|
|
675
184
|
promptProvider?: string;
|
|
676
|
-
/**
|
|
677
|
-
* Large language model name (Optional)
|
|
678
|
-
* Maximum length: 64
|
|
679
|
-
*/
|
|
680
185
|
promptModel?: string;
|
|
681
|
-
/**
|
|
682
|
-
* Ai token name from account settings (Optional)
|
|
683
|
-
*/
|
|
684
186
|
embeddingTokenName?: string;
|
|
685
|
-
/**
|
|
686
|
-
* Embedding guardrail identifier.
|
|
687
|
-
*/
|
|
688
187
|
embeddingGuardrailIdentifier?: string;
|
|
689
|
-
/**
|
|
690
|
-
* Top-p (nucleus): The cumulative probability cutoff for token selection.
|
|
691
|
-
* Lower values mean sampling from a smaller, more top-weighted nucleus.
|
|
692
|
-
*/
|
|
693
188
|
topP?: number;
|
|
694
|
-
/**
|
|
695
|
-
* Top-k: Sample from the k most likely next tokens at each step.
|
|
696
|
-
* Lower k focuses on higher probability tokens.
|
|
697
|
-
*/
|
|
698
189
|
topK?: number;
|
|
699
190
|
};
|
|
700
|
-
/**
|
|
701
|
-
* Find parameters
|
|
702
|
-
*/
|
|
703
191
|
export type Find = Partial<PaginationOptions> & Partial<OrderOptions> & {
|
|
704
|
-
/**
|
|
705
|
-
* Search query
|
|
706
|
-
*/
|
|
707
192
|
query?: string;
|
|
708
|
-
/**
|
|
709
|
-
* Search mode: bm25 for full-text search and vector for vector similarity search.
|
|
710
|
-
*/
|
|
711
193
|
mode?: SearchMode;
|
|
712
194
|
};
|
|
713
|
-
/**
|
|
714
|
-
* Find passages parameters
|
|
715
|
-
*/
|
|
716
195
|
export type FindPassages = Find & {
|
|
717
|
-
/**
|
|
718
|
-
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
719
|
-
*/
|
|
720
196
|
where?: Record<string, unknown>;
|
|
721
197
|
};
|
|
722
198
|
type TypedPassageProperties = {
|
|
723
|
-
/**
|
|
724
|
-
* Content of the default collection passage
|
|
725
|
-
*/
|
|
726
199
|
content: string;
|
|
727
200
|
} | {
|
|
728
|
-
/**
|
|
729
|
-
* question of the QnA collection passage
|
|
730
|
-
*/
|
|
731
201
|
question: string;
|
|
732
|
-
/**
|
|
733
|
-
* answer of the QnA collection passage
|
|
734
|
-
*/
|
|
735
202
|
answer: string;
|
|
736
203
|
} & {
|
|
737
|
-
/**
|
|
738
|
-
* Custom vector for search, in this case embeddingProvider and embeddingModel are ignored
|
|
739
|
-
*/
|
|
740
204
|
vector?: number[];
|
|
741
205
|
};
|
|
742
|
-
/**
|
|
743
|
-
* Passage creation parameters. The properties other than listed are considered custom properties.
|
|
744
|
-
*/
|
|
745
206
|
export type CreatePassage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & {
|
|
746
|
-
/**
|
|
747
|
-
* Document ID
|
|
748
|
-
*/
|
|
749
207
|
documentId: string;
|
|
750
|
-
/**
|
|
751
|
-
* Custom loader metadata. Non filterable property
|
|
752
|
-
*/
|
|
753
208
|
loaderMetadata?: Record<string, unknown>;
|
|
754
209
|
} & T;
|
|
755
|
-
/**
|
|
756
|
-
* Passage represents a passage object.
|
|
757
|
-
*/
|
|
758
210
|
export type Passage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & {
|
|
759
|
-
/**
|
|
760
|
-
* Passage ID
|
|
761
|
-
*/
|
|
762
211
|
id: string;
|
|
763
|
-
/**
|
|
764
|
-
* Creation Date
|
|
765
|
-
*/
|
|
766
212
|
createdAt: string;
|
|
767
|
-
/**
|
|
768
|
-
* Updating Date
|
|
769
|
-
*/
|
|
770
213
|
updatedAt: string;
|
|
771
214
|
} & T;
|
|
772
|
-
/**
|
|
773
|
-
* Update passage parameters
|
|
774
|
-
*/
|
|
775
215
|
export type UpdatePassage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & T;
|
|
776
|
-
/**
|
|
777
|
-
* Represents a deleted passage.
|
|
778
|
-
*/
|
|
779
216
|
export type DeletedPassage = {
|
|
780
|
-
/**
|
|
781
|
-
* The ID of the deleted passage.
|
|
782
|
-
*/
|
|
783
217
|
id: string;
|
|
784
218
|
};
|
|
785
|
-
/**
|
|
786
|
-
* Represents a list if ids of deleted passages.
|
|
787
|
-
*/
|
|
788
219
|
export type RemoveManyPassagesResult = {
|
|
789
|
-
/**
|
|
790
|
-
* The IDs of the deleted passages.
|
|
791
|
-
*/
|
|
792
220
|
removedIds: string[];
|
|
793
221
|
};
|
|
794
|
-
/**
|
|
795
|
-
* Backup parameters
|
|
796
|
-
*/
|
|
797
222
|
export type Backup = {
|
|
798
|
-
/**
|
|
799
|
-
* Prefix in Files the backup files to put into
|
|
800
|
-
* Minimum length: 3, Maximum length: 500
|
|
801
|
-
*/
|
|
802
223
|
prefix: string;
|
|
803
224
|
};
|
|
804
|
-
/**
|
|
805
|
-
* Restore parameters
|
|
806
|
-
*/
|
|
807
225
|
export type Restore = {
|
|
808
|
-
/**
|
|
809
|
-
* Prefix in Files the backup files to put into
|
|
810
|
-
* Minimum length: 3, Maximum length: 500
|
|
811
|
-
*/
|
|
812
226
|
key: string;
|
|
813
|
-
/**
|
|
814
|
-
* Does file has public privacy in files
|
|
815
|
-
*/
|
|
816
227
|
isPublic: boolean;
|
|
817
228
|
};
|
|
818
|
-
/**
|
|
819
|
-
* Result of removing multiple documents
|
|
820
|
-
*/
|
|
821
229
|
export type RemoveManyDocumentsResult = {
|
|
822
|
-
/**
|
|
823
|
-
* IDs of removed documents
|
|
824
|
-
*/
|
|
825
230
|
removedDocumentsIds: string[];
|
|
826
|
-
/**
|
|
827
|
-
* IDs of removed passages
|
|
828
|
-
*/
|
|
829
231
|
removedPassagesIds: string[];
|
|
830
232
|
};
|
|
831
233
|
export type ProvidersList = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IAIzB,KAAK,EAAE,KAAK,CAAC;IAKb,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAKF,MAAM,MAAM,YAAY,GAAG;IAIzB,IAAI,EAAE,MAAM,CAAC;IAKb,GAAG,C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AAE,MAAM,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;KAC7B,EAAE,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAIhC,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/lookup",
|
|
3
|
-
"version": "1.24.0
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -30,5 +30,6 @@
|
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"gitHead": "f9ac69c126ec4552e93fd88144582db0dc4c2840"
|
|
34
35
|
}
|