@pairsystems/goodmem-client 1.0.0-beta.1 → 1.0.0-dev.cb052d6
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 +100 -82
- package/dist/ApiClient.js +33 -52
- package/dist/api/APIKeysApi.js +72 -51
- package/dist/api/EmbeddersApi.js +93 -63
- package/dist/api/MemoriesApi.js +263 -80
- package/dist/api/RerankersApi.js +262 -0
- package/dist/api/SpacesApi.js +100 -66
- package/dist/api/SystemApi.js +24 -18
- package/dist/api/UsersApi.js +100 -26
- package/dist/client.js +26 -1
- package/dist/index.js +181 -0
- package/dist/model/AbstractReply.js +138 -0
- package/dist/model/ApiKeyResponse.js +5 -5
- package/dist/model/BatchMemoryCreationRequest.js +5 -5
- package/dist/model/BatchMemoryDeletionRequest.js +5 -5
- package/dist/model/BatchMemoryRetrievalRequest.js +5 -5
- package/dist/model/BinaryContent.js +129 -0
- package/dist/model/ChunkReference.js +152 -0
- package/dist/model/ChunkingConfiguration.js +115 -0
- package/dist/model/ContextItem.js +136 -0
- package/dist/model/CreateApiKeyRequest.js +5 -5
- package/dist/model/CreateApiKeyResponse.js +5 -5
- package/dist/model/DistributionType.js +58 -0
- package/dist/model/EmbedderCreationRequest.js +20 -9
- package/dist/model/EmbedderResponse.js +20 -9
- package/dist/model/EmbedderWeight.js +125 -0
- package/dist/model/GoodMemStatus.js +129 -0
- package/dist/model/LengthMeasurement.js +63 -0
- package/dist/model/ListApiKeysResponse.js +5 -5
- package/dist/model/ListEmbeddersResponse.js +5 -5
- package/dist/model/ListRerankersResponse.js +132 -0
- package/dist/model/ListSpacesResponse.js +5 -5
- package/dist/model/Memory.js +23 -15
- package/dist/model/MemoryChunkResponse.js +240 -0
- package/dist/model/MemoryCreationRequest.js +21 -9
- package/dist/model/MemoryListResponse.js +5 -5
- package/dist/model/Modality.js +4 -4
- package/dist/model/PostProcessor.js +125 -0
- package/dist/model/ProviderType.js +9 -4
- package/dist/model/RecursiveChunkingConfiguration.js +165 -0
- package/dist/model/RerankerCreationRequest.js +266 -0
- package/dist/model/RerankerResponse.js +316 -0
- package/dist/model/ResultSetBoundary.js +153 -0
- package/dist/model/RetrieveMemoryEvent.js +148 -0
- package/dist/model/RetrieveMemoryRequest.js +219 -0
- package/dist/model/RetrievedItem.js +106 -0
- package/dist/model/SentenceChunkingConfiguration.js +141 -0
- package/dist/model/SeparatorKeepStrategy.js +63 -0
- package/dist/model/Space.js +19 -5
- package/dist/model/SpaceCreationRequest.js +19 -5
- package/dist/model/SpaceEmbedder.js +5 -5
- package/dist/model/SpaceEmbedderConfig.js +5 -5
- package/dist/model/SpaceKey.js +145 -0
- package/dist/model/SystemInitResponse.js +5 -5
- package/dist/model/UpdateApiKeyRequest.js +5 -5
- package/dist/model/UpdateEmbedderRequest.js +5 -5
- package/dist/model/UpdateRerankerRequest.js +226 -0
- package/dist/model/UpdateSpaceRequest.js +22 -44
- package/dist/model/UserResponse.js +5 -5
- package/dist/streaming.js +649 -0
- package/package.json +4 -36
package/package.json
CHANGED
|
@@ -1,45 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairsystems/goodmem-client",
|
|
3
|
-
"version": "1.0.0-
|
|
4
|
-
"description": "JavaScript client
|
|
5
|
-
"license": "
|
|
3
|
+
"version": "1.0.0-dev.cb052d6",
|
|
4
|
+
"description": "JavaScript client for GoodMem API",
|
|
5
|
+
"license": "Unlicense",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/PAIR-Systems-Inc/goodmem.git",
|
|
11
|
-
"directory": "clients/js"
|
|
12
|
-
},
|
|
13
|
-
"homepage": "https://github.com/PAIR-Systems-Inc/goodmem/tree/main/clients/js",
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/PAIR-Systems-Inc/goodmem/issues"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"goodmem",
|
|
19
|
-
"vector",
|
|
20
|
-
"embeddings",
|
|
21
|
-
"memory",
|
|
22
|
-
"api",
|
|
23
|
-
"client",
|
|
24
|
-
"openapi",
|
|
25
|
-
"ai"
|
|
26
|
-
],
|
|
27
|
-
"author": {
|
|
28
|
-
"name": "PAIR Systems Inc",
|
|
29
|
-
"email": "support@pairsys.ai",
|
|
30
|
-
"url": "https://pairsys.ai"
|
|
31
|
-
},
|
|
32
|
-
"publishConfig": {
|
|
33
|
-
"access": "public",
|
|
34
|
-
"registry": "https://registry.npmjs.org/"
|
|
35
|
-
},
|
|
36
7
|
"scripts": {
|
|
37
8
|
"build": "babel src -d dist",
|
|
38
9
|
"prepare": "npm run build",
|
|
39
|
-
"test": "mocha --require @babel/register --recursive"
|
|
40
|
-
"prepublishOnly": "npm run build",
|
|
41
|
-
"version": "npm run build",
|
|
42
|
-
"postversion": "git push && git push --tags"
|
|
10
|
+
"test": "mocha --require @babel/register --recursive"
|
|
43
11
|
},
|
|
44
12
|
"browser": {
|
|
45
13
|
"fs": false
|