@akumi/sdk 0.1.1 → 0.2.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/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -115,7 +115,6 @@ interface ChatCompletionsRequest {
|
|
|
115
115
|
max_tokens?: number | null;
|
|
116
116
|
stream?: boolean | null;
|
|
117
117
|
firewall?: boolean | null;
|
|
118
|
-
rag?: string | null;
|
|
119
118
|
user?: string | null;
|
|
120
119
|
thread?: string | null;
|
|
121
120
|
top_p?: number | null;
|
|
@@ -132,6 +131,7 @@ interface ChatCompletionsRequest {
|
|
|
132
131
|
models?: string[];
|
|
133
132
|
provider?: unknown;
|
|
134
133
|
stream_options?: unknown;
|
|
134
|
+
collection?: string[] | null;
|
|
135
135
|
stop?: string[] | null;
|
|
136
136
|
logit_bias?: number[] | null;
|
|
137
137
|
response_format?: unknown;
|
|
@@ -149,8 +149,8 @@ interface EmbeddingsRequest {
|
|
|
149
149
|
interface IngestDocumentRequest {
|
|
150
150
|
title: string;
|
|
151
151
|
text: string;
|
|
152
|
+
collection: string;
|
|
152
153
|
source?: string | null;
|
|
153
|
-
collection?: string | null;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
interface RememberFactRequest {
|
|
@@ -160,7 +160,7 @@ interface RememberFactRequest {
|
|
|
160
160
|
|
|
161
161
|
interface SearchDocumentsRequest {
|
|
162
162
|
query: string;
|
|
163
|
-
collection: string;
|
|
163
|
+
collection: string[];
|
|
164
164
|
user_ref?: string | null;
|
|
165
165
|
limit?: number | null;
|
|
166
166
|
}
|
|
@@ -169,12 +169,14 @@ interface SearchFactsRequest {
|
|
|
169
169
|
query: string;
|
|
170
170
|
user_ref?: string | null;
|
|
171
171
|
limit?: number | null;
|
|
172
|
+
collection?: string[] | null;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
interface SearchRequest {
|
|
175
176
|
query: string;
|
|
176
177
|
user_ref?: string | null;
|
|
177
178
|
limit?: number | null;
|
|
179
|
+
collection?: string[] | null;
|
|
178
180
|
}
|
|
179
181
|
|
|
180
182
|
interface StoreCollectionRequest {
|
package/dist/index.d.ts
CHANGED
|
@@ -115,7 +115,6 @@ interface ChatCompletionsRequest {
|
|
|
115
115
|
max_tokens?: number | null;
|
|
116
116
|
stream?: boolean | null;
|
|
117
117
|
firewall?: boolean | null;
|
|
118
|
-
rag?: string | null;
|
|
119
118
|
user?: string | null;
|
|
120
119
|
thread?: string | null;
|
|
121
120
|
top_p?: number | null;
|
|
@@ -132,6 +131,7 @@ interface ChatCompletionsRequest {
|
|
|
132
131
|
models?: string[];
|
|
133
132
|
provider?: unknown;
|
|
134
133
|
stream_options?: unknown;
|
|
134
|
+
collection?: string[] | null;
|
|
135
135
|
stop?: string[] | null;
|
|
136
136
|
logit_bias?: number[] | null;
|
|
137
137
|
response_format?: unknown;
|
|
@@ -149,8 +149,8 @@ interface EmbeddingsRequest {
|
|
|
149
149
|
interface IngestDocumentRequest {
|
|
150
150
|
title: string;
|
|
151
151
|
text: string;
|
|
152
|
+
collection: string;
|
|
152
153
|
source?: string | null;
|
|
153
|
-
collection?: string | null;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
interface RememberFactRequest {
|
|
@@ -160,7 +160,7 @@ interface RememberFactRequest {
|
|
|
160
160
|
|
|
161
161
|
interface SearchDocumentsRequest {
|
|
162
162
|
query: string;
|
|
163
|
-
collection: string;
|
|
163
|
+
collection: string[];
|
|
164
164
|
user_ref?: string | null;
|
|
165
165
|
limit?: number | null;
|
|
166
166
|
}
|
|
@@ -169,12 +169,14 @@ interface SearchFactsRequest {
|
|
|
169
169
|
query: string;
|
|
170
170
|
user_ref?: string | null;
|
|
171
171
|
limit?: number | null;
|
|
172
|
+
collection?: string[] | null;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
interface SearchRequest {
|
|
175
176
|
query: string;
|
|
176
177
|
user_ref?: string | null;
|
|
177
178
|
limit?: number | null;
|
|
179
|
+
collection?: string[] | null;
|
|
178
180
|
}
|
|
179
181
|
|
|
180
182
|
interface StoreCollectionRequest {
|