@activepieces/piece-afforai 0.0.3 → 0.0.5
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 +30 -11
- package/src/i18n/de.json +12 -0
- package/src/i18n/es.json +12 -0
- package/src/i18n/fr.json +12 -0
- package/src/i18n/ja.json +12 -0
- package/src/i18n/nl.json +12 -0
- package/src/i18n/pt.json +12 -0
- package/src/i18n/ru.json +12 -0
- package/src/i18n/translation.json +12 -0
- package/src/i18n/vi.json +12 -0
- package/src/i18n/zh.json +12 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,19 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-afforai",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
5
|
+
"@ai-sdk/anthropic": "1.2.12",
|
|
6
|
+
"@ai-sdk/google": "1.2.19",
|
|
7
|
+
"@ai-sdk/openai": "1.3.22",
|
|
8
|
+
"@ai-sdk/replicate": "0.2.8",
|
|
9
|
+
"@sinclair/typebox": "0.34.11",
|
|
10
|
+
"ai": "4.3.16",
|
|
11
|
+
"axios": "1.8.3",
|
|
12
|
+
"axios-retry": "4.4.1",
|
|
13
|
+
"deepmerge-ts": "7.1.0",
|
|
14
|
+
"fast-glob": "3.3.3",
|
|
15
|
+
"mime-types": "2.1.35",
|
|
16
|
+
"nanoid": "3.3.8",
|
|
11
17
|
"semver": "7.6.0",
|
|
12
|
-
"
|
|
13
|
-
"@activepieces/pieces-
|
|
14
|
-
"@activepieces/
|
|
15
|
-
"
|
|
18
|
+
"zod": "3.25.76",
|
|
19
|
+
"@activepieces/pieces-common": "0.6.4",
|
|
20
|
+
"@activepieces/pieces-framework": "0.18.2",
|
|
21
|
+
"@activepieces/shared": "0.18.0",
|
|
22
|
+
"tslib": "2.8.1"
|
|
16
23
|
},
|
|
24
|
+
"overrides": {
|
|
25
|
+
"@tryfabric/martian": {
|
|
26
|
+
"@notionhq/client": "$@notionhq/client"
|
|
27
|
+
},
|
|
28
|
+
"vite": {
|
|
29
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"resolutions": {
|
|
33
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
34
|
+
},
|
|
35
|
+
"types": "./src/index.d.ts",
|
|
17
36
|
"main": "./src/index.js",
|
|
18
37
|
"type": "commonjs"
|
|
19
38
|
}
|
package/src/i18n/de.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Hilft Ihnen bei der Suche, Zusammenfassung und Übersetzung von Wissen aus hunderten von Dokumenten, um Ihnen bei der Erstellung vertrauenswürdiger Recherchen zu helfen.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n Um Ihren API-Schlüssel zu erhalten, folgen Sie diesen Schritten:\n 1. Melden Sie sich bei Ihrem Afforai-Konto an.\n 2. Navigiere zum Abschnitt **API** im linken Fenster.\n 3. Auf der oberen rechten Seite findest du den API-Schlüssel.\n ",
|
|
5
|
+
"Ask Chatbot": "Chatbot fragen",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Ruft die KI-generierte Vervollständigung für einen gegebenen Chatbot ab.",
|
|
7
|
+
"Chatbot ID": "Chatbot-ID",
|
|
8
|
+
"Chat History": "Chatverlauf",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI sollte tiefer nach Informationen in den angegebenen Dateien suchen ?",
|
|
10
|
+
"AI to search for information on Google?": "KI nach Informationen über Google suchen?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Du kannst Chatbot-ID finden, indem du auf Einstellungen klickst unter **Aktionen** für den angegebenen Chatbot."
|
|
12
|
+
}
|
package/src/i18n/es.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Le ayuda a buscar, resumir y traducir conocimientos de cientos de documentos para ayudarle a producir una investigación fiable.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Preguntar a Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Obtiene terminaciones generadas por AIs para un determinado chatbot.",
|
|
7
|
+
"Chatbot ID": "ID del Chatbot",
|
|
8
|
+
"Chat History": "Historial de Chat",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI debería buscar más a fondo la información en los archivos dados ?",
|
|
10
|
+
"AI to search for information on Google?": "¿AI para buscar información sobre Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Puedes encontrar la ID de Chatbot haciendo clic en el botón de configuración debajo de **Acciones** para un chatbot determinado."
|
|
12
|
+
}
|
package/src/i18n/fr.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforaï",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Vous aide à rechercher, résumer et traduire les connaissances à partir de centaines de documents afin de vous aider à réaliser des recherches dignes de confiance.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Demander à Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Récupère les complétions générées par AI pour un chatbot donné.",
|
|
7
|
+
"Chatbot ID": "ID Chatbot",
|
|
8
|
+
"Chat History": "Historique du chat",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "Amnesty International devrait rechercher plus en profondeur les informations dans les fichiers donnés ?",
|
|
10
|
+
"AI to search for information on Google?": "AI pour rechercher des informations sur Google ?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Vous pouvez trouver l'ID de Chatbot en cliquant sur le bouton Paramètres sous **Actions** pour un chatbot donné."
|
|
12
|
+
}
|
package/src/i18n/ja.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "信頼できる研究を生み出すのに役立つ数百の文書からの知識を検索、要約、翻訳するのに役立ちます。",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "チャットボットに聞く",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "特定のチャットボットのAI生成完了を取得します。",
|
|
7
|
+
"Chatbot ID": "チャットボットID",
|
|
8
|
+
"Chat History": "チャット履歴",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AIは指定されたファイル内の情報をもっと深く検索するべきですか?",
|
|
10
|
+
"AI to search for information on Google?": "Googleで情報を検索するAI?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "チャットボットの **Actions** の下の設定ボタンをクリックするとチャットボットIDが表示されます。"
|
|
12
|
+
}
|
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Helpt u bij het zoeken, samenvatten en vertalen van kennis van honderden documenten om u te helpen betrouwbare onderzoeken te produceren.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n Om uw API-sleutel te verkrijgen, volg deze stappen:\n 1. Log in op je Afforai-account.\n 2. Navigeer naar **API** sectie op linker paneel.\n 3. Hier bovenaan rechts vind je een API-sleutel.\n ",
|
|
5
|
+
"Ask Chatbot": "Chatbot vragen",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Haalt AI-gegenereerde completies op voor een bepaalde chatbot.",
|
|
7
|
+
"Chatbot ID": "Chatbot ID",
|
|
8
|
+
"Chat History": "Chat geschiedenis",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI moet dieper zoeken naar informatie in de gegeven dossiers?",
|
|
10
|
+
"AI to search for information on Google?": "AI om te zoeken naar informatie op Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Je kunt Chatbot ID vinden door op de instellingen knop onder **Acties** te klikken voor deze chatbot."
|
|
12
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Ajuda a pesquisar, resumir e traduzir conhecimento de centenas de documentos para ajudá-lo a produzir pesquisas dignas de confiança.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Pergunte ao Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Obtém compleções geradas por IA para um determinado chatbot.",
|
|
7
|
+
"Chatbot ID": "ID do Chatbot",
|
|
8
|
+
"Chat History": "Histórico de bate-papo",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI deve procurar mais profundamente informação nos arquivos indicados ?",
|
|
10
|
+
"AI to search for information on Google?": "AI para procurar informações no Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Você pode encontrar o ID do Chatbot clicando no botão de configurações em **Ações** para o ChatBot indicado."
|
|
12
|
+
}
|
package/src/i18n/ru.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Аффорай",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Помогает вам искать, обобщать и переводить знания из сотен документов, чтобы помочь вам в проведении надежных исследований.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Спросить Чатбота",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Получает AI дополнения для данного чатбота.",
|
|
7
|
+
"Chatbot ID": "ID Чатбота",
|
|
8
|
+
"Chat History": "История чата",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "Им следует более глубоко искать информацию в данных файлах?",
|
|
10
|
+
"AI to search for information on Google?": "Искать информацию в Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "Вы можете найти Chatbot ID, нажав кнопку \"Настройки\" в **Actions** для данного чатбота."
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Ask Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Gets AI-generated completions for a given chatbot.",
|
|
7
|
+
"Chatbot ID": "Chatbot ID",
|
|
8
|
+
"Chat History": "Chat History",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI should search more deeply for information in the given files ?",
|
|
10
|
+
"AI to search for information on Google?": "AI to search for information on Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "You can find Chatbot ID by clicking settings button under **Actions** for given chatbot."
|
|
12
|
+
}
|
package/src/i18n/vi.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Ask Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Gets AI-generated completions for a given chatbot.",
|
|
7
|
+
"Chatbot ID": "Chatbot ID",
|
|
8
|
+
"Chat History": "Chat History",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI should search more deeply for information in the given files ?",
|
|
10
|
+
"AI to search for information on Google?": "AI to search for information on Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "You can find Chatbot ID by clicking settings button under **Actions** for given chatbot."
|
|
12
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Afforai": "Afforai",
|
|
3
|
+
"Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.": "Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.",
|
|
4
|
+
"\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ": "\n To obtain your API Key, follow these steps:\n 1. Log in to your Afforai account.\n 2. Navigate to **API** section on left panel.\n 3. On the top-right, you can find you API key.\n ",
|
|
5
|
+
"Ask Chatbot": "Ask Chatbot",
|
|
6
|
+
"Gets AI-generated completions for a given chatbot.": "Gets AI-generated completions for a given chatbot.",
|
|
7
|
+
"Chatbot ID": "Chatbot ID",
|
|
8
|
+
"Chat History": "Chat History",
|
|
9
|
+
"AI should search more deeply for information in the given files ?": "AI should search more deeply for information in the given files ?",
|
|
10
|
+
"AI to search for information on Google?": "AI to search for information on Google?",
|
|
11
|
+
"You can find Chatbot ID by clicking settings button under **Actions** for given chatbot.": "You can find Chatbot ID by clicking settings button under **Actions** for given chatbot."
|
|
12
|
+
}
|
package/src/index.js
CHANGED
|
@@ -18,7 +18,7 @@ exports.afforai = (0, pieces_framework_1.createPiece)({
|
|
|
18
18
|
displayName: 'Afforai',
|
|
19
19
|
description: 'Helps you search, summarize, and translate knowledge from hundreds of documents to help you produce trustworthy research.',
|
|
20
20
|
auth: exports.afforaiAuth,
|
|
21
|
-
minimumSupportedRelease: '0.
|
|
21
|
+
minimumSupportedRelease: '0.30.0',
|
|
22
22
|
logoUrl: 'https://cdn.activepieces.com/pieces/afforai.png',
|
|
23
23
|
categories: [shared_1.PieceCategory.ARTIFICIAL_INTELLIGENCE],
|
|
24
24
|
authors: ["kishanprmr", "abuaboud"],
|