@amgix/amgix-client 1.0.0-beta3.2 → 1.1.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/README.md +8 -2
- package/dist/apis/AmgixApi.d.ts +74 -2
- package/dist/apis/AmgixApi.d.ts.map +1 -1
- package/dist/apis/AmgixApi.js +218 -92
- package/dist/models/BulkUploadRequest.d.ts +2 -2
- package/dist/models/BulkUploadRequest.js +2 -2
- package/dist/models/CollectionConfig.d.ts +2 -2
- package/dist/models/CollectionConfig.js +2 -2
- package/dist/models/CollectionExistsResponse.d.ts +2 -2
- package/dist/models/CollectionExistsResponse.js +2 -2
- package/dist/models/CustomDocumentVector.d.ts +3 -3
- package/dist/models/CustomDocumentVector.js +2 -2
- package/dist/models/CustomVector.d.ts +2 -2
- package/dist/models/CustomVector.js +2 -2
- package/dist/models/Document.d.ts +6 -5
- package/dist/models/Document.d.ts.map +1 -1
- package/dist/models/Document.js +3 -5
- package/dist/models/DocumentStatus.d.ts +3 -3
- package/dist/models/DocumentStatus.js +3 -3
- package/dist/models/DocumentStatusResponse.d.ts +2 -2
- package/dist/models/DocumentStatusResponse.js +2 -2
- package/dist/models/HTTPValidationError.d.ts +2 -2
- package/dist/models/HTTPValidationError.js +2 -2
- package/dist/models/LocationInner.d.ts +27 -0
- package/dist/models/LocationInner.d.ts.map +1 -0
- package/dist/models/LocationInner.js +38 -0
- package/dist/models/MetadataFilter.d.ts +3 -3
- package/dist/models/MetadataFilter.js +2 -2
- package/dist/models/MetadataIndex.d.ts +3 -3
- package/dist/models/MetadataIndex.js +2 -2
- package/dist/models/OkResponse.d.ts +2 -2
- package/dist/models/OkResponse.js +2 -2
- package/dist/models/QueueInfo.d.ts +2 -2
- package/dist/models/QueueInfo.js +2 -2
- package/dist/models/ReadyResponse.d.ts +2 -2
- package/dist/models/ReadyResponse.js +2 -2
- package/dist/models/SearchQuery.d.ts +22 -2
- package/dist/models/SearchQuery.d.ts.map +1 -1
- package/dist/models/SearchQuery.js +14 -2
- package/dist/models/SearchResult.d.ts +6 -5
- package/dist/models/SearchResult.d.ts.map +1 -1
- package/dist/models/SearchResult.js +3 -5
- package/dist/models/ValidationError.d.ts +5 -5
- package/dist/models/ValidationError.d.ts.map +1 -1
- package/dist/models/ValidationError.js +5 -5
- package/dist/models/ValidationErrorLocItem.d.ts +27 -0
- package/dist/models/ValidationErrorLocItem.d.ts.map +1 -0
- package/dist/models/ValidationErrorLocItem.js +38 -0
- package/dist/models/Vector.d.ts +2 -2
- package/dist/models/Vector.js +2 -2
- package/dist/models/VectorConfig.d.ts +5 -6
- package/dist/models/VectorConfig.d.ts.map +1 -1
- package/dist/models/VectorConfig.js +2 -4
- package/dist/models/VectorScore.d.ts +2 -2
- package/dist/models/VectorScore.js +2 -2
- package/dist/models/VectorSearchWeight.d.ts +3 -4
- package/dist/models/VectorSearchWeight.d.ts.map +1 -1
- package/dist/models/VectorSearchWeight.js +2 -4
- package/dist/models/VersionResponse.d.ts +2 -2
- package/dist/models/VersionResponse.js +2 -2
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +17 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ export interface CustomDocumentVector {
|
|
|
30
30
|
vector: Vector;
|
|
31
31
|
/**
|
|
32
32
|
* Document field this vector is for (name, description, or content)
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {CustomDocumentVectorFieldEnum}
|
|
34
34
|
* @memberof CustomDocumentVector
|
|
35
35
|
*/
|
|
36
36
|
field: CustomDocumentVectorFieldEnum;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,7 +19,6 @@ import type { CustomDocumentVector } from './CustomDocumentVector';
|
|
|
19
19
|
* @interface Document
|
|
20
20
|
*/
|
|
21
21
|
export interface Document {
|
|
22
|
-
[key: string]: any | any;
|
|
23
22
|
/**
|
|
24
23
|
* Unique identifier for the document (max 100 characters)
|
|
25
24
|
* @type {string}
|
|
@@ -58,10 +57,12 @@ export interface Document {
|
|
|
58
57
|
content?: string;
|
|
59
58
|
/**
|
|
60
59
|
* Dictionary of metadata key-value pairs. Values can be simple types (string, int, float, bool) or MetaValue objects (required for datetime)
|
|
61
|
-
* @type {
|
|
60
|
+
* @type {{ [key: string]: any; }}
|
|
62
61
|
* @memberof Document
|
|
63
62
|
*/
|
|
64
|
-
metadata?:
|
|
63
|
+
metadata?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
65
66
|
/**
|
|
66
67
|
* Pre-generated custom vectors for this document (optional)
|
|
67
68
|
* @type {Array<CustomDocumentVector>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../models/Document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;;GAOG;AACH,MAAM,WAAW,QAAQ;IACrB
|
|
1
|
+
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../models/Document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;;GAOG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAInE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAevF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBtG"}
|
package/dist/models/Document.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,7 +37,6 @@ function DocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
|
-
...json,
|
|
41
40
|
'id': json['id'],
|
|
42
41
|
'timestamp': (new Date(json['timestamp'])),
|
|
43
42
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
@@ -56,9 +55,8 @@ function DocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
55
|
return value;
|
|
57
56
|
}
|
|
58
57
|
return {
|
|
59
|
-
...value,
|
|
60
58
|
'id': value['id'],
|
|
61
|
-
'timestamp':
|
|
59
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
62
60
|
'tags': value['tags'],
|
|
63
61
|
'name': value['name'],
|
|
64
62
|
'description': value['description'],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
export interface DocumentStatus {
|
|
18
18
|
/**
|
|
19
19
|
* Status of the document (queued, requeued, indexed, failed)
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {DocumentStatusStatusEnum}
|
|
21
21
|
* @memberof DocumentStatus
|
|
22
22
|
*/
|
|
23
23
|
status: DocumentStatusStatusEnum;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,7 +63,7 @@ function DocumentStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
63
|
return {
|
|
64
64
|
'status': value['status'],
|
|
65
65
|
'info': value['info'],
|
|
66
|
-
'timestamp':
|
|
66
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
67
67
|
'queue_id': value['queue_id'],
|
|
68
68
|
'try_count': value['try_count'],
|
|
69
69
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amalgam Index API
|
|
3
|
+
* Amalgam Index (Amgix). The Hybrid Semantic Search Platform, API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0-beta3.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocationInner
|
|
16
|
+
*/
|
|
17
|
+
export interface LocationInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the LocationInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfLocationInner(value: object): value is LocationInner;
|
|
23
|
+
export declare function LocationInnerFromJSON(json: any): LocationInner;
|
|
24
|
+
export declare function LocationInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationInner;
|
|
25
|
+
export declare function LocationInnerToJSON(json: any): LocationInner;
|
|
26
|
+
export declare function LocationInnerToJSONTyped(value?: LocationInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
+
//# sourceMappingURL=LocationInner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationInner.d.ts","sourceRoot":"","sources":["../../models/LocationInner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;CAC7B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAEhH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Amalgam Index API
|
|
6
|
+
* Amalgam Index (Amgix). The Hybrid Semantic Search Platform, API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0-beta3.2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLocationInner = instanceOfLocationInner;
|
|
17
|
+
exports.LocationInnerFromJSON = LocationInnerFromJSON;
|
|
18
|
+
exports.LocationInnerFromJSONTyped = LocationInnerFromJSONTyped;
|
|
19
|
+
exports.LocationInnerToJSON = LocationInnerToJSON;
|
|
20
|
+
exports.LocationInnerToJSONTyped = LocationInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LocationInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLocationInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LocationInnerFromJSON(json) {
|
|
28
|
+
return LocationInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LocationInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function LocationInnerToJSON(json) {
|
|
34
|
+
return LocationInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LocationInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +41,7 @@ export interface MetadataFilter {
|
|
|
41
41
|
key?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Comparison operator
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {MetadataFilterOpEnum}
|
|
45
45
|
* @memberof MetadataFilter
|
|
46
46
|
*/
|
|
47
47
|
op?: MetadataFilterOpEnum;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,7 +23,7 @@ export interface MetadataIndex {
|
|
|
23
23
|
key: string;
|
|
24
24
|
/**
|
|
25
25
|
* Type of the metadata value
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {MetadataIndexTypeEnum}
|
|
27
27
|
* @memberof MetadataIndex
|
|
28
28
|
*/
|
|
29
29
|
type: MetadataIndexTypeEnum;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/QueueInfo.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -74,7 +74,27 @@ export interface SearchQuery {
|
|
|
74
74
|
* @memberof SearchQuery
|
|
75
75
|
*/
|
|
76
76
|
raw_scores?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* WMTR trigram channel multiplier for this search query.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof SearchQuery
|
|
81
|
+
*/
|
|
82
|
+
wmtr_trigram_weight?: number;
|
|
83
|
+
/**
|
|
84
|
+
* How to combine multi-vector search results. 'rrf' = reciprocal rank fusion (rank-based). 'linear' = min-max normalize each retriever's scores on its prefetch list, then sum weight * normalized score.
|
|
85
|
+
* @type {SearchQueryFusionModeEnum}
|
|
86
|
+
* @memberof SearchQuery
|
|
87
|
+
*/
|
|
88
|
+
fusion_mode?: SearchQueryFusionModeEnum;
|
|
77
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export declare const SearchQueryFusionModeEnum: {
|
|
94
|
+
readonly Rrf: "rrf";
|
|
95
|
+
readonly Linear: "linear";
|
|
96
|
+
};
|
|
97
|
+
export type SearchQueryFusionModeEnum = typeof SearchQueryFusionModeEnum[keyof typeof SearchQueryFusionModeEnum];
|
|
78
98
|
/**
|
|
79
99
|
* Check if a given object implements the SearchQuery interface.
|
|
80
100
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchQuery.d.ts","sourceRoot":"","sources":["../../models/SearchQuery.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACrC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchQuery.d.ts","sourceRoot":"","sources":["../../models/SearchQuery.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACrC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;CAC3C;AAGD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAGjH;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAGzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAkB7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAmB5G"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Amalgam Index API
|
|
6
|
-
* Amalgam Index (Amgix).
|
|
6
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SearchQueryFusionModeEnum = void 0;
|
|
16
17
|
exports.instanceOfSearchQuery = instanceOfSearchQuery;
|
|
17
18
|
exports.SearchQueryFromJSON = SearchQueryFromJSON;
|
|
18
19
|
exports.SearchQueryFromJSONTyped = SearchQueryFromJSONTyped;
|
|
@@ -21,6 +22,13 @@ exports.SearchQueryToJSONTyped = SearchQueryToJSONTyped;
|
|
|
21
22
|
const VectorSearchWeight_1 = require("./VectorSearchWeight");
|
|
22
23
|
const CustomVector_1 = require("./CustomVector");
|
|
23
24
|
const MetadataFilter_1 = require("./MetadataFilter");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.SearchQueryFusionModeEnum = {
|
|
29
|
+
Rrf: 'rrf',
|
|
30
|
+
Linear: 'linear'
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
* Check if a given object implements the SearchQuery interface.
|
|
26
34
|
*/
|
|
@@ -46,6 +54,8 @@ function SearchQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
54
|
'document_tags_match_all': json['document_tags_match_all'] == null ? undefined : json['document_tags_match_all'],
|
|
47
55
|
'metadata_filter': json['metadata_filter'] == null ? undefined : (0, MetadataFilter_1.MetadataFilterFromJSON)(json['metadata_filter']),
|
|
48
56
|
'raw_scores': json['raw_scores'] == null ? undefined : json['raw_scores'],
|
|
57
|
+
'wmtr_trigram_weight': json['wmtr_trigram_weight'] == null ? undefined : json['wmtr_trigram_weight'],
|
|
58
|
+
'fusion_mode': json['fusion_mode'] == null ? undefined : json['fusion_mode'],
|
|
49
59
|
};
|
|
50
60
|
}
|
|
51
61
|
function SearchQueryToJSON(json) {
|
|
@@ -65,5 +75,7 @@ function SearchQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
75
|
'document_tags_match_all': value['document_tags_match_all'],
|
|
66
76
|
'metadata_filter': (0, MetadataFilter_1.MetadataFilterToJSON)(value['metadata_filter']),
|
|
67
77
|
'raw_scores': value['raw_scores'],
|
|
78
|
+
'wmtr_trigram_weight': value['wmtr_trigram_weight'],
|
|
79
|
+
'fusion_mode': value['fusion_mode'],
|
|
68
80
|
};
|
|
69
81
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Amalgam Index API
|
|
3
|
-
* Amalgam Index (Amgix).
|
|
3
|
+
* Amalgam Index (Amgix). Open-Source Hybrid Search System
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,7 +20,6 @@ import type { CustomDocumentVector } from './CustomDocumentVector';
|
|
|
20
20
|
* @interface SearchResult
|
|
21
21
|
*/
|
|
22
22
|
export interface SearchResult {
|
|
23
|
-
[key: string]: any | any;
|
|
24
23
|
/**
|
|
25
24
|
* Unique identifier for the document (max 100 characters)
|
|
26
25
|
* @type {string}
|
|
@@ -53,10 +52,12 @@ export interface SearchResult {
|
|
|
53
52
|
description?: string;
|
|
54
53
|
/**
|
|
55
54
|
* Dictionary of metadata key-value pairs. Values can be simple types (string, int, float, bool) or MetaValue objects (required for datetime)
|
|
56
|
-
* @type {
|
|
55
|
+
* @type {{ [key: string]: any; }}
|
|
57
56
|
* @memberof SearchResult
|
|
58
57
|
*/
|
|
59
|
-
metadata?:
|
|
58
|
+
metadata?: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
60
61
|
/**
|
|
61
62
|
* Pre-generated custom vectors for this document (optional)
|
|
62
63
|
* @type {Array<CustomDocumentVector>}
|