@akumi/sdk 0.2.1 → 0.2.2

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