@fias/create-fias-plugin 1.0.0 → 1.0.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/package.json
CHANGED
|
@@ -108,7 +108,7 @@ function AISummarizer() {
|
|
|
108
108
|
|
|
109
109
|
async function summarize(text: string) {
|
|
110
110
|
await invoke({
|
|
111
|
-
entityId: '
|
|
111
|
+
entityId: 'ent_fias_ai', // the AI model capability
|
|
112
112
|
input: text, // what to process
|
|
113
113
|
systemPrompt: 'You are a concise summarizer. Return a 2-3 sentence summary.',
|
|
114
114
|
});
|
|
@@ -337,7 +337,7 @@ function AIChat() {
|
|
|
337
337
|
<button
|
|
338
338
|
onClick={() =>
|
|
339
339
|
invoke({
|
|
340
|
-
entityId: '
|
|
340
|
+
entityId: 'ent_fias_ai',
|
|
341
341
|
input,
|
|
342
342
|
systemPrompt: 'You are a helpful assistant.',
|
|
343
343
|
})
|
|
@@ -108,7 +108,7 @@ function AISummarizer() {
|
|
|
108
108
|
|
|
109
109
|
async function summarize(text: string) {
|
|
110
110
|
await invoke({
|
|
111
|
-
entityId: '
|
|
111
|
+
entityId: 'ent_fias_ai', // the AI model capability
|
|
112
112
|
input: text, // what to process
|
|
113
113
|
systemPrompt: 'You are a concise summarizer. Return a 2-3 sentence summary.',
|
|
114
114
|
});
|
|
@@ -337,7 +337,7 @@ function AIChat() {
|
|
|
337
337
|
<button
|
|
338
338
|
onClick={() =>
|
|
339
339
|
invoke({
|
|
340
|
-
entityId: '
|
|
340
|
+
entityId: 'ent_fias_ai',
|
|
341
341
|
input,
|
|
342
342
|
systemPrompt: 'You are a helpful assistant.',
|
|
343
343
|
})
|