@fias/create-fias-plugin 1.0.0 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fias/create-fias-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -108,7 +108,7 @@ function AISummarizer() {
108
108
 
109
109
  async function summarize(text: string) {
110
110
  await invoke({
111
- entityId: 'ent_model_sonnet_45', // the AI model capability
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: 'ent_model_sonnet_45',
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: 'ent_model_sonnet_45', // the AI model capability
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: 'ent_model_sonnet_45',
340
+ entityId: 'ent_fias_ai',
341
341
  input,
342
342
  systemPrompt: 'You are a helpful assistant.',
343
343
  })