@akumi/sdk 0.2.0 → 0.2.1

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 CHANGED
@@ -104,38 +104,40 @@ interface AuditLogApiResource {
104
104
  ipAddress: string | null;
105
105
  userAgent: string | null;
106
106
  target: unknown | null;
107
- metadata: unknown[] | null;
108
- createdAt: string;
107
+ metadata: unknown | null;
108
+ createdAt: string | null;
109
109
  }
110
110
 
111
111
  interface ChatCompletionsRequest {
112
112
  messages: unknown[];
113
113
  model?: string;
114
+ models?: string[];
115
+ provider?: unknown;
114
116
  temperature?: number | null;
115
117
  max_tokens?: number | null;
116
118
  stream?: boolean | null;
119
+ stream_options?: unknown;
117
120
  firewall?: boolean | null;
121
+ collection?: string[] | null;
118
122
  user?: string | null;
119
123
  thread?: string | null;
124
+ tags?: string[] | null;
125
+ name?: string | null;
120
126
  top_p?: number | null;
127
+ stop?: string[] | null;
121
128
  presence_penalty?: number | null;
122
129
  frequency_penalty?: number | null;
123
130
  n?: number | null;
124
131
  seed?: number | null;
132
+ logit_bias?: number[] | null;
125
133
  logprobs?: boolean | null;
126
134
  top_logprobs?: number | null;
127
135
  max_completion_tokens?: number | null;
136
+ tools?: unknown[] | null;
128
137
  tool_choice?: string | null;
129
138
  parallel_tool_calls?: boolean | null;
130
139
  cache?: boolean | null;
131
- models?: string[];
132
- provider?: unknown;
133
- stream_options?: unknown;
134
- collection?: string[] | null;
135
- stop?: string[] | null;
136
- logit_bias?: number[] | null;
137
140
  response_format?: unknown;
138
- tools?: unknown[] | null;
139
141
  }
140
142
 
141
143
  interface EmbeddingsRequest {
@@ -167,16 +169,16 @@ interface SearchDocumentsRequest {
167
169
 
168
170
  interface SearchFactsRequest {
169
171
  query: string;
172
+ collection?: string[] | null;
170
173
  user_ref?: string | null;
171
174
  limit?: number | null;
172
- collection?: string[] | null;
173
175
  }
174
176
 
175
177
  interface SearchRequest {
176
178
  query: string;
179
+ collection?: string[] | null;
177
180
  user_ref?: string | null;
178
181
  limit?: number | null;
179
- collection?: string[] | null;
180
182
  }
181
183
 
182
184
  interface StoreCollectionRequest {
package/dist/index.d.ts CHANGED
@@ -104,38 +104,40 @@ interface AuditLogApiResource {
104
104
  ipAddress: string | null;
105
105
  userAgent: string | null;
106
106
  target: unknown | null;
107
- metadata: unknown[] | null;
108
- createdAt: string;
107
+ metadata: unknown | null;
108
+ createdAt: string | null;
109
109
  }
110
110
 
111
111
  interface ChatCompletionsRequest {
112
112
  messages: unknown[];
113
113
  model?: string;
114
+ models?: string[];
115
+ provider?: unknown;
114
116
  temperature?: number | null;
115
117
  max_tokens?: number | null;
116
118
  stream?: boolean | null;
119
+ stream_options?: unknown;
117
120
  firewall?: boolean | null;
121
+ collection?: string[] | null;
118
122
  user?: string | null;
119
123
  thread?: string | null;
124
+ tags?: string[] | null;
125
+ name?: string | null;
120
126
  top_p?: number | null;
127
+ stop?: string[] | null;
121
128
  presence_penalty?: number | null;
122
129
  frequency_penalty?: number | null;
123
130
  n?: number | null;
124
131
  seed?: number | null;
132
+ logit_bias?: number[] | null;
125
133
  logprobs?: boolean | null;
126
134
  top_logprobs?: number | null;
127
135
  max_completion_tokens?: number | null;
136
+ tools?: unknown[] | null;
128
137
  tool_choice?: string | null;
129
138
  parallel_tool_calls?: boolean | null;
130
139
  cache?: boolean | null;
131
- models?: string[];
132
- provider?: unknown;
133
- stream_options?: unknown;
134
- collection?: string[] | null;
135
- stop?: string[] | null;
136
- logit_bias?: number[] | null;
137
140
  response_format?: unknown;
138
- tools?: unknown[] | null;
139
141
  }
140
142
 
141
143
  interface EmbeddingsRequest {
@@ -167,16 +169,16 @@ interface SearchDocumentsRequest {
167
169
 
168
170
  interface SearchFactsRequest {
169
171
  query: string;
172
+ collection?: string[] | null;
170
173
  user_ref?: string | null;
171
174
  limit?: number | null;
172
- collection?: string[] | null;
173
175
  }
174
176
 
175
177
  interface SearchRequest {
176
178
  query: string;
179
+ collection?: string[] | null;
177
180
  user_ref?: string | null;
178
181
  limit?: number | null;
179
- collection?: string[] | null;
180
182
  }
181
183
 
182
184
  interface StoreCollectionRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akumi/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Official TypeScript SDK for the Akumi EU-sovereign inference API.",
5
5
  "license": "MIT",
6
6
  "type": "module",