@kokimoki/app 2.1.0 → 2.1.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/kokimoki.min.d.ts +2 -0
- package/dist/kokimoki.min.js +23 -12
- package/dist/kokimoki.min.js.map +1 -1
- package/dist/llms.txt +6 -0
- package/dist/services/kokimoki-ai.d.ts +2 -0
- package/dist/services/kokimoki-ai.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/llms.txt
CHANGED
|
@@ -308,10 +308,13 @@ Used to generate text response with AI
|
|
|
308
308
|
- `gpt-5-nano`: Smallest GPT-5 variant for lightweight tasks
|
|
309
309
|
- `gemini-2.5-flash-lite`: Google Gemini lite variant
|
|
310
310
|
- `gemini-2.5-flash`: Google Gemini fast variant
|
|
311
|
+
- `gemini-3-flash-preview`: Google Gemini 3 Flash preview
|
|
312
|
+
- `gemini-3-pro-preview`: Google Gemini 3 Pro preview
|
|
311
313
|
- **req.systemPrompt**: `string` AI role/behavior (optional)
|
|
312
314
|
- **req.userPrompt**: `string` User message (optional)
|
|
313
315
|
- **req.temperature**: `number` Creativity level from 0.0 = factual to 2.0 = creative (optional)
|
|
314
316
|
- **req.maxTokens**: `number` Response length limit (optional)
|
|
317
|
+
- **req.imageUrls**: `string[]` Image URLs to include with the user prompt (Gemini models only) (optional)
|
|
315
318
|
|
|
316
319
|
**Examples:**
|
|
317
320
|
|
|
@@ -342,10 +345,13 @@ Used to generate structured JSON output with AI. Automatically ensures the respo
|
|
|
342
345
|
- `gpt-5-nano`: Smallest GPT-5 variant for lightweight tasks
|
|
343
346
|
- `gemini-2.5-flash-lite`: Google Gemini lite variant
|
|
344
347
|
- `gemini-2.5-flash`: Google Gemini fast variant
|
|
348
|
+
- `gemini-3-flash-preview`: Google Gemini 3 Flash preview
|
|
349
|
+
- `gemini-3-pro-preview`: Google Gemini 3 Pro preview
|
|
345
350
|
- **req.systemPrompt**: `string` AI role/behavior (optional)
|
|
346
351
|
- **req.userPrompt**: `string` User message (optional)
|
|
347
352
|
- **req.temperature**: `number` Creativity level from 0.0 = factual to 2.0 = creative (optional)
|
|
348
353
|
- **req.maxTokens**: `number` Response length limit (optional)
|
|
354
|
+
- **req.imageUrls**: `string[]` Image URLs to include with the user prompt (Gemini models only) (optional)
|
|
349
355
|
|
|
350
356
|
**Returns:** Promise resolving to parsed JSON object of type T
|
|
351
357
|
|
|
@@ -79,6 +79,8 @@ export declare class KokimokiAiService {
|
|
|
79
79
|
* higher values make it more creative and varied.
|
|
80
80
|
* @param req.maxTokens Optional. The maximum number of tokens to generate in the response.
|
|
81
81
|
* Controls the length of the AI's output.
|
|
82
|
+
* @param req.imageUrls Optional. Image URLs to include with the user prompt (Gemini models only).
|
|
83
|
+
* Allows the AI to analyze and respond based on the provided images.
|
|
82
84
|
*
|
|
83
85
|
* @returns A promise that resolves to an object containing the AI-generated response.
|
|
84
86
|
* @returns {string} content The text content of the AI's response.
|
|
@@ -79,6 +79,8 @@ export class KokimokiAiService {
|
|
|
79
79
|
* higher values make it more creative and varied.
|
|
80
80
|
* @param req.maxTokens Optional. The maximum number of tokens to generate in the response.
|
|
81
81
|
* Controls the length of the AI's output.
|
|
82
|
+
* @param req.imageUrls Optional. Image URLs to include with the user prompt (Gemini models only).
|
|
83
|
+
* Allows the AI to analyze and respond based on the provided images.
|
|
82
84
|
*
|
|
83
85
|
* @returns A promise that resolves to an object containing the AI-generated response.
|
|
84
86
|
* @returns {string} content The text content of the AI's response.
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const KOKIMOKI_APP_VERSION = "2.1.
|
|
1
|
+
export declare const KOKIMOKI_APP_VERSION = "2.1.1";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated file. Do not edit manually.
|
|
2
|
-
export const KOKIMOKI_APP_VERSION = '2.1.
|
|
2
|
+
export const KOKIMOKI_APP_VERSION = '2.1.1';
|