Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"extends": [
|
||||
"../../../../.eslintrc.base.json"
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"!**/*"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.ts",
|
||||
"*.tsx",
|
||||
"*.js",
|
||||
"*.jsx"
|
||||
],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"*.ts",
|
||||
"*.tsx"
|
||||
],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"*.js",
|
||||
"*.jsx"
|
||||
],
|
||||
"rules": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# pieces-docsbot
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Building
|
||||
|
||||
Run `nx build pieces-docsbot` to build the library.
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@activepieces/piece-docsbot",
|
||||
"version": "0.0.4",
|
||||
"type": "commonjs",
|
||||
"main": "./src/index.js",
|
||||
"types": "./src/index.d.ts",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "pieces-docsbot",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/pieces/community/docsbot/src",
|
||||
"projectType": "library",
|
||||
"release": {
|
||||
"version": {
|
||||
"manifestRootsToUpdate": [
|
||||
"dist/{projectRoot}"
|
||||
],
|
||||
"currentVersionResolver": "git-tag",
|
||||
"fallbackCurrentVersionResolver": "disk"
|
||||
}
|
||||
},
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/packages/pieces/community/docsbot",
|
||||
"tsConfig": "packages/pieces/community/docsbot/tsconfig.lib.json",
|
||||
"packageJson": "packages/pieces/community/docsbot/package.json",
|
||||
"main": "packages/pieces/community/docsbot/src/index.ts",
|
||||
"assets": [
|
||||
"packages/pieces/community/docsbot/*.md",
|
||||
{
|
||||
"input": "packages/pieces/community/docsbot/src/i18n",
|
||||
"output": "./src/i18n",
|
||||
"glob": "**/!(i18n.json)"
|
||||
}
|
||||
],
|
||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"prebuild"
|
||||
]
|
||||
},
|
||||
"nx-release-publish": {
|
||||
"options": {
|
||||
"packageRoot": "dist/{projectRoot}"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
]
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"cwd": "packages/pieces/community/docsbot",
|
||||
"command": "bun install --no-save --silent"
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "Mit DocsBot AI können Sie AI-basierte Chatbots erstellen, die Antworten aus Ihrer vorhandenen Dokumentation und Inhalt ziehen. Diese Integration ermöglicht Workflows, DocsBot-Fragen zu stellen und ihre Trainingsquellen dynamisch zu aktualisieren.",
|
||||
"The API key for authenticating with DocsBot.": "Der API-Schlüssel zur Authentifizierung mit DocsBot.",
|
||||
"Ask Question": "Frage stellen",
|
||||
"Create Source": "Quelle erstellen",
|
||||
"Upload Source File": "Quelldatei hochladen",
|
||||
"Create Bot": "Bot erstellen",
|
||||
"Find Bot": "Bot finden",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Ask a question to a specific bot in a specific team.": "Stellen Sie eine Frage an einen bestimmten Bot in einem bestimmten Team.",
|
||||
"Create a new source for a bot.": "Erstelle eine neue Quelle für einen Bot.",
|
||||
"Upload a file to be used as a source.": "Eine Datei hochladen, die als Quelle verwendet werden soll.",
|
||||
"Creates a new bot.": "Erstellt einen neuen Bot.",
|
||||
"Finds bot by name.": "Findet Bot nach Namen.",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Team": "Team",
|
||||
"Bot": "Bot",
|
||||
"Question": "Frage",
|
||||
"Metadata": "Metadaten",
|
||||
"Context Items": "Kontext-Elemente",
|
||||
"Human Escalation": "Menschliche Eskalation",
|
||||
"Follow-up Rating": "Follow-up-Bewertung",
|
||||
"Document Retriever": "Dokumentenabruf",
|
||||
"Full Source": "Vollständige Quelle",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Testen",
|
||||
"Image URLs": "Bild-URLs",
|
||||
"Model": "Modell",
|
||||
"Default Language": "Standardsprache",
|
||||
"Reasoning Effort": "Grund dafür",
|
||||
"Type": "Typ",
|
||||
"Source Properties": "Quell-Eigenschaften",
|
||||
"File": "Datei",
|
||||
"Name": "Name",
|
||||
"Description": "Beschreibung",
|
||||
"Privacy": "Privatsphäre",
|
||||
"Language": "Sprache",
|
||||
"Embedding Model": "Einbettungsmodell",
|
||||
"Copy From": "Kopieren von",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopfzeilen",
|
||||
"Query Parameters": "Abfrageparameter",
|
||||
"Body": "Körper",
|
||||
"Response is Binary ?": "Antwort ist binär?",
|
||||
"No Error on Failure": "Kein Fehler bei Fehler",
|
||||
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
||||
"The team to use.": "Das zu verwendende Team.",
|
||||
"The bot to use.": "Der zu verwendende Bot.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "Die Frage, die dem Bot gestellt werden soll. 2 bis 500 Zeichen. Maximal erhöht sich bei der Authentifizierung auf 8K Tokens (grob 32k Zeichen).",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "Ein Benutzeridentifikationsobjekt mit beliebigen Metadaten über den Benutzer. Wird in der Frage und im Gespräch gespeichert. Tastenverweiser, E-Mail und Name werden im Fragenprotokoll angezeigt. Optional, Standardwert ist Null.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Anzahl der Quellen, von denen der Bot beantwortet werden soll. Optional, Standard ist 5. Der Forschungsmodus verwendet 16 (teurere Tokennutzung).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Ob menschliche Eskalation für diese Frage aktiviert werden soll. Optional, Standard ist falsch.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Gibt an, ob der Benutzer nach der Beantwortung der Frage nach einer Folgebewertung gefragt wird. Optional, Standard ist falsch.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Gibt an, ob das Dokument für diese Frage verwendet werden soll. Optional, Standard ist falsch.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Gibt an, ob der vollständige Quellinhalt in der Antwort zurückgegeben werden soll. Optional, Standard ist falsch.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Ergebnisse automatisch an die Anzahl der Gruppen übertragen. Optional, Standardwert ist falsch.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Gibt an, ob die Anfrage für Testzwecke verwendet wird. Optional, Standardwert ist falsch.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "Liste von Bild-URLs, die der Frage als Kontext hinzugefügt werden sollen. Optional, Standardwert Null.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Überschreiben des Modells für diese Anfrage. Erfordert einen OpenAI API-Schlüssel, der für Ihr Team gesetzt werden soll. Optional, Standardwerte für das für den Bot konfigurierte Modell.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "Die Standardsprache, die verwendet wird, wenn die Sprache der Unterhaltung unklar ist. Verwenden Sie Locale-Codes wie 'en' oder 'en-US'. Optional, standardmäßig die konfigurierte Sprache des Bots.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Grund für die Tiefe der Antwort. Benötigt Authentifizierung um die Standardeinstellung zu überschreiben.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Kann url, Dokument, Sitemap, wp, urls, csv, rss, qa, youtube sein. Alle außer url, sitemap und youtube erfordern das Hochladen einer formatierten Datei.",
|
||||
"Create Source Properties": "Quell-Eigenschaften erstellen",
|
||||
"The file to upload.": "Die hochzuladende Datei.",
|
||||
"The bot name. Used publically.": "Der Bot-Name. Öffentlich verwendet.",
|
||||
"The bot description. Shown by default in embeds and share links.": "Die Bot-Beschreibung. Standardmäßig in Einbettungen und Links teilen.",
|
||||
"The bot privacy. Can be public or private.": "Der Bot Privatsphäre. Kann öffentlich oder privat sein.",
|
||||
"The bot language.": "Die Bot-Sprache.",
|
||||
"The OpenAI model.": "Das OpenAI-Modell.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "Das Einbettungsmodell unterstützt derzeit text-embedding-ada-002, text-embedding-3-large text-embedding-3-small, embed-multilingual-v3.0 und embed-v4.0 (Cohere) je nach Plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "Die ID eines vorhandenen Bots in Ihrem Team zu kopieren. Wenn vorhanden, wird der neue Bot als Kopie des angegebenen Bots erstellt und alle Quellen nach der Erstellung kopiert.",
|
||||
"The bot name.": "Der Bot-Name.",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
||||
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
|
||||
"Minimal": "Minimal",
|
||||
"Low": "Niedrig",
|
||||
"Medium": "Mittel",
|
||||
"High": "Hoch",
|
||||
"URL": "URL",
|
||||
"Document": "Dokument",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "MP",
|
||||
"Multiple URLs": "Mehrere URLs",
|
||||
"CSV": "CSV",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Öffentlich",
|
||||
"Private": "Privat",
|
||||
"English": "Englisch",
|
||||
"Japanese": "Japanisch",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Text Einbetten ADA 002",
|
||||
"Text Embedding 3 Large": "Text Einbetten 3 groß",
|
||||
"Text Embedding 3 Small": "Text Einbetten 3 Klein",
|
||||
"Embed Multilingual V3.0": "Mehrsprachige V3.0 einbetten",
|
||||
"Embed V4.0": "V4.0 einbinden",
|
||||
"GET": "ERHALTEN",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "LÖSCHEN",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI le permite construir chatbots alimentados por AIs que extraigan respuestas de su documentación y contenido existente. Esta integración permite a los flujos de trabajo hacer preguntas de DocsBot y actualizar dinámicamente sus fuentes de formación.",
|
||||
"The API key for authenticating with DocsBot.": "La clave API para autenticarse con DocsBot.",
|
||||
"Ask Question": "Hacer pregunta",
|
||||
"Create Source": "Crear Fuente",
|
||||
"Upload Source File": "Subir archivo de origen",
|
||||
"Create Bot": "Crear bot",
|
||||
"Find Bot": "Buscar bot",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Ask a question to a specific bot in a specific team.": "Haz una pregunta a un bot específico en un equipo específico.",
|
||||
"Create a new source for a bot.": "Crear una nueva fuente para un bot.",
|
||||
"Upload a file to be used as a source.": "Subir un archivo para ser usado como fuente.",
|
||||
"Creates a new bot.": "Crea un nuevo bot.",
|
||||
"Finds bot by name.": "Encuentra bot por nombre.",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Team": "Equipo",
|
||||
"Bot": "Bot",
|
||||
"Question": "Pregunta",
|
||||
"Metadata": "Metadatos",
|
||||
"Context Items": "Elementos de contexto",
|
||||
"Human Escalation": "Escalación humana",
|
||||
"Follow-up Rating": "Puntuación de seguimiento",
|
||||
"Document Retriever": "Recuperador de documentos",
|
||||
"Full Source": "Fuente completa",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Pruebas",
|
||||
"Image URLs": "URLs de imagen",
|
||||
"Model": "Modelo",
|
||||
"Default Language": "Idioma por defecto",
|
||||
"Reasoning Effort": "Razonando Effort",
|
||||
"Type": "Tipo",
|
||||
"Source Properties": "Propiedades de origen",
|
||||
"File": "Archivo",
|
||||
"Name": "Nombre",
|
||||
"Description": "Descripción",
|
||||
"Privacy": "Privacidad",
|
||||
"Language": "Idioma",
|
||||
"Embedding Model": "Modelo de incrustación",
|
||||
"Copy From": "Copiar desde",
|
||||
"Method": "Método",
|
||||
"Headers": "Encabezados",
|
||||
"Query Parameters": "Parámetros de consulta",
|
||||
"Body": "Cuerpo",
|
||||
"Response is Binary ?": "¿Respuesta es binaria?",
|
||||
"No Error on Failure": "No hay ningún error en fallo",
|
||||
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
||||
"The team to use.": "El equipo a utilizar.",
|
||||
"The bot to use.": "El bot a usar.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "La pregunta para hacer al bot. 2 a 500 caracteres. Máximo aumentado a 8K tokens (ásperamente 32k caracteres) cuando está autenticado.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "Un objeto de identificación de usuario con metadatos arbitrarios sobre el usuario. Se guardará en la pregunta y la conversación. Las claves referentes, correo electrónico y nombre se muestran en los registros del historial de preguntas. Opcional, el valor predeterminado es nulo.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Cantidad de fuentes a buscar para que el bot responda. Opcional, por defecto es 5. El modo de investigación utiliza 16 (más caro uso de tokens).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Si habilitar la escalada humana para esta pregunta. Opcional, por defecto es falso.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Si pedir al usuario una calificación de seguimiento después de que la pregunta sea respondida. Opcional, por defecto es falso.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Si usar la recuperadora del documento para esta pregunta. Opcional, por defecto es falso.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Si devolver el contenido completo de la fuente en la respuesta. Opcional, por defecto es falso.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Automatizar resultados a grupos num. Opcional, por defecto es falso.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Si la solicitud es para fines de prueba. Opcional, por defecto es falso.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "Lista de URLs de imágenes a incluir con la pregunta como contexto. Opcional, por defecto nula.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Reemplaza el modelo utilizado para esta solicitud. Requiere una clave API OpenAI para ser configurada en tu equipo. Opcional, por defecto el modelo configurado para el bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "El idioma por defecto a usar si el idioma de la conversación no está claro. Usar códigos locales como 'en' o 'en-US'. Opcional, por defecto en el idioma configurado del bot.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Profundidad de razonamiento para la respuesta. Requiere autenticación para anular el valor predeterminado.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Puede ser url, documento, sitemap, wp, urls, csv, rss, qa, youtube. Todo menos url, sitemap, y youtube requiere subir un archivo formateado.",
|
||||
"Create Source Properties": "Crear Propiedades Fuente",
|
||||
"The file to upload.": "El archivo a subir.",
|
||||
"The bot name. Used publically.": "El nombre del bot. Utilizado públicamente.",
|
||||
"The bot description. Shown by default in embeds and share links.": "La descripción del bot. Se muestra por defecto en las incrustaciones y comparte enlaces.",
|
||||
"The bot privacy. Can be public or private.": "La privacidad del bot. Puede ser pública o privada.",
|
||||
"The bot language.": "El lenguaje bot.",
|
||||
"The OpenAI model.": "El modelo OpenAI.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "Actualmente soporta text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) dependiendo de su plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "El ID de un bot existente en tu equipo del que copiar. Si se proporciona, el nuevo bot se creará como una copia del bot especificado, con todas las fuentes copiadas después de la creación.",
|
||||
"The bot name.": "El nombre del bot.",
|
||||
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
||||
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
|
||||
"Minimal": "Mínimo",
|
||||
"Low": "Baja",
|
||||
"Medium": "Medio",
|
||||
"High": "Alta",
|
||||
"URL": "URL",
|
||||
"Document": "Documento",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "Múltiples URL",
|
||||
"CSV": "CSV",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Público",
|
||||
"Private": "Privado",
|
||||
"English": "Inglés",
|
||||
"Japanese": "Japonés",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Incrustación de texto ADA 002",
|
||||
"Text Embedding 3 Large": "Incrustación de texto 3 grande",
|
||||
"Text Embedding 3 Small": "Incrustación de texto 3 Pequeño",
|
||||
"Embed Multilingual V3.0": "Insertar Multilingüe V3.0",
|
||||
"Embed V4.0": "Incrustar V4.0",
|
||||
"GET": "RECOGER",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "BORRAR",
|
||||
"HEAD": "LIMPIO"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI vous permet de construire des chatbots propulsés par l'IA qui tirent les réponses de votre documentation et contenu existants. Cette intégration permet aux workflows de poser des questions à DocsBot et de mettre à jour leurs sources de formation de manière dynamique.",
|
||||
"The API key for authenticating with DocsBot.": "La clé API pour l'authentification avec DocsBot.",
|
||||
"Ask Question": "Poser une question",
|
||||
"Create Source": "Créer une source",
|
||||
"Upload Source File": "Télécharger le fichier source",
|
||||
"Create Bot": "Créer un bot",
|
||||
"Find Bot": "Trouver le Bot",
|
||||
"Custom API Call": "Appel d'API personnalisé",
|
||||
"Ask a question to a specific bot in a specific team.": "Posez une question à un bot spécifique dans une équipe spécifique.",
|
||||
"Create a new source for a bot.": "Créer une nouvelle source pour un bot.",
|
||||
"Upload a file to be used as a source.": "Télécharger un fichier à utiliser comme source.",
|
||||
"Creates a new bot.": "Crée un nouveau bot.",
|
||||
"Finds bot by name.": "Trouve le bot par nom.",
|
||||
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
||||
"Team": "Équipe",
|
||||
"Bot": "Bot",
|
||||
"Question": "Question",
|
||||
"Metadata": "Métadonnées",
|
||||
"Context Items": "Éléments de contexte",
|
||||
"Human Escalation": "Escalade humaine",
|
||||
"Follow-up Rating": "Note de suivi",
|
||||
"Document Retriever": "Récupération de documents",
|
||||
"Full Source": "Source complète",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Tests en cours",
|
||||
"Image URLs": "URL de l'image",
|
||||
"Model": "Modélisation",
|
||||
"Default Language": "Langue par défaut",
|
||||
"Reasoning Effort": "Effort de Raison",
|
||||
"Type": "Type de texte",
|
||||
"Source Properties": "Propriétés de la source",
|
||||
"File": "Ficher",
|
||||
"Name": "Nom",
|
||||
"Description": "Libellé",
|
||||
"Privacy": "Confidentialité",
|
||||
"Language": "Langue",
|
||||
"Embedding Model": "Modèle d'intégration",
|
||||
"Copy From": "Copier depuis",
|
||||
"Method": "Méthode",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Paramètres de requête",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "La réponse est Binaire ?",
|
||||
"No Error on Failure": "Aucune erreur en cas d'échec",
|
||||
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
||||
"The team to use.": "L'équipe à utiliser.",
|
||||
"The bot to use.": "Le bot à utiliser.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "La question à poser au bot. De 2 à 500 caractères. Maximum a augmenté à 8K jetons (approximativement 32k caractères) lors de l'authentification.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "Un objet d'identification utilisateur avec des métadonnées arbitraires à propos de l'utilisateur. Il sera enregistré dans la question et la conversation. Les clés de référence, email et nom sont affichés dans les journaux de l'historique des questions. Optionnel, valeur par défaut null.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Nombre de sources à rechercher pour que le bot réponde. Optionnel, par défaut est 5. Le mode de recherche utilise 16 (utilisation de jetons plus coûteuse).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Activer ou non l'escalade humaine pour cette question. Optionnel, par défaut est faux.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Si vous voulez demander à l'utilisateur une évaluation de suivi après que la question soit répondue. Optionnel, la valeur par défaut est faux.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Si vous voulez utiliser la récupération de document pour cette question. Optionnel, la valeur par défaut est faux.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Renvoie ou non le contenu de la source complète dans la réponse. Optionnel, par défaut est faux.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Couper automatiquement les résultats aux groupes nus. Optionnel, valeur par défaut false.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Si la requête est à des fins de test. Optionnel, la valeur par défaut est false.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "Liste des URL d'image à inclure avec la question comme contexte. Optionnel, par défaut, null.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Remplacer le modèle utilisé pour cette requête. Nécessite une clé API OpenAI pour être définie dans votre équipe. Optionnel, le modèle configuré par défaut pour le bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "La langue par défaut à utiliser si la langue de la conversation n'est pas claire. Utilisez les codes régionaux comme 'en' ou 'en-US'. Optionnel, par défaut la langue configurée par le bot.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Profondeur du raisonnement pour la réponse. Nécessite l'authentification pour remplacer la valeur par défaut.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Peut être url, document, sitemap, wp, urls, csv, rss, qa, youtube. Tout sauf url, sitemap, et youtube nécessitent le téléchargement d'un fichier formaté.",
|
||||
"Create Source Properties": "Créer des propriétés de la source",
|
||||
"The file to upload.": "Le fichier à télécharger.",
|
||||
"The bot name. Used publically.": "Le nom du bot. Utilisé publiquement.",
|
||||
"The bot description. Shown by default in embeds and share links.": "La description du bot. Affichée par défaut dans les embeds et les liens de partage.",
|
||||
"The bot privacy. Can be public or private.": "La vie privée du bot. Peut être publique ou privée.",
|
||||
"The bot language.": "La langue du bot.",
|
||||
"The OpenAI model.": "Le modèle OpenAI.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "Le modèle d'intégration. Actuellement, supporte text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, et embed-v4.0 (Cohere) selon votre plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "L'ID d'un bot existant dans votre équipe à copier. Si fourni, le nouveau bot sera créé en tant que copie du bot spécifié, avec toutes les sources copiées après la création.",
|
||||
"The bot name.": "Le nom du bot.",
|
||||
"Authorization headers are injected automatically from your connection.": "Les headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
||||
"Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
||||
"Minimal": "Minimal",
|
||||
"Low": "Bas",
|
||||
"Medium": "Moyenne",
|
||||
"High": "Élevé",
|
||||
"URL": "URL",
|
||||
"Document": "Document",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "URLs multiples",
|
||||
"CSV": "CSV",
|
||||
"RSS": "Flux RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Publique",
|
||||
"Private": "Privé",
|
||||
"English": "Anglais",
|
||||
"Japanese": "Japonais",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Texte intégrant ADA 002",
|
||||
"Text Embedding 3 Large": "Texte intégrant 3 grands",
|
||||
"Text Embedding 3 Small": "Texte intégrant 3 petits",
|
||||
"Embed Multilingual V3.0": "Intégrer la version 3.0 multilingue",
|
||||
"Embed V4.0": "Intégrer V4.0",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI を使用すると、既存のドキュメントやコンテンツから回答を引き出すAIを使用したチャットボットを構築できます。 この統合により、ワークフローは DocsBot の質問やトレーニングソースの更新を動的に行うことができます。",
|
||||
"The API key for authenticating with DocsBot.": "DocsBotで認証するためのAPIキー。",
|
||||
"Ask Question": "質問する",
|
||||
"Create Source": "ソースを作成",
|
||||
"Upload Source File": "ソースファイルをアップロード",
|
||||
"Create Bot": "ボットを作成",
|
||||
"Find Bot": "ボットを見つける",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Ask a question to a specific bot in a specific team.": "特定のチームの特定のボットに質問をします。",
|
||||
"Create a new source for a bot.": "ボットの新しいソースを作成します。",
|
||||
"Upload a file to be used as a source.": "ソースとして使用するファイルをアップロードします。",
|
||||
"Creates a new bot.": "新しいボットを作成します。",
|
||||
"Finds bot by name.": "ボットを名前で検索します。",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Team": "Team",
|
||||
"Bot": "Bot",
|
||||
"Question": "質問",
|
||||
"Metadata": "メタデータ",
|
||||
"Context Items": "コンテキスト項目",
|
||||
"Human Escalation": "ヒューマンエスカレーション",
|
||||
"Follow-up Rating": "フォローアップ評価",
|
||||
"Document Retriever": "ドキュメントの取得",
|
||||
"Full Source": "フルソース",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "テスト",
|
||||
"Image URLs": "画像のURL",
|
||||
"Model": "モデル",
|
||||
"Default Language": "デフォルトの言語",
|
||||
"Reasoning Effort": "Reasoning Workfort",
|
||||
"Type": "タイプ",
|
||||
"Source Properties": "ソースのプロパティ",
|
||||
"File": "ファイル",
|
||||
"Name": "Name",
|
||||
"Description": "説明",
|
||||
"Privacy": "プライバシー",
|
||||
"Language": "言語",
|
||||
"Embedding Model": "組み込みモデル",
|
||||
"Copy From": "コピー元:",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"The team to use.": "使用するチーム",
|
||||
"The bot to use.": "使用するボット。",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "Botに質問する質問。認証時に最大8Kトークン(大まかに32K文字)が増加しました。",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "ユーザに関する任意のメタデータを持つユーザ識別オブジェクト。質問と会話に保存されます。 キー紹介、電子メール、および名前は問題履歴ログに表示されます。省略可能で、デフォルトは null です。",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "このボットから応答するために検索するソースの数。省略可能で、デフォルトは 5 です。リサーチモードでは 16 (より高価なトークンの使用) を使用します。",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "この質問に対する人間のエスカレーションを有効にするかどうか。省略可能で、デフォルトはfalseです。",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "質問が回答された後、ユーザーにフォローアップ評価を求めるかどうか。オプションで、デフォルトはfalseです。",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "この質問に文書再取得を使用するかどうか。省略可能で、デフォルトはfalseです。",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "レスポンス内の完全なソースコンテンツを返すかどうか。省略可能で、デフォルトは false です。",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "結果をnum グループに自動カットします。オプションで、デフォルトは false です。",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "リクエストがテスト目的かどうか。省略可能で、デフォルトは false です。",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "質問をコンテキストとして含める画像URLの一覧。省略可能、デフォルトは null です。",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "このリクエストで使用されるモデルを上書きします。チームに設定するには OpenAI API キーが必要です。 オプションで、デフォルトではボット用に設定されたモデルになります。",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "会話の言語が不明な場合に使用するデフォルトの言語。 'en' や 'en-US' のようなロケールコードを使用します。オプションで、デフォルトではボットの言語が設定されています。",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "レスポンスの深さを推定しています。デフォルトを上書きするには認証が必要です。",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "URL、ドキュメント、sitemap、wp、urls、csv、rss、qa、youtubeをすることができます。URL、sitemap、およびyoutube以外はフォーマットされたファイルのアップロードが必要です。",
|
||||
"Create Source Properties": "ソースプロパティを作成",
|
||||
"The file to upload.": "アップロードするファイル",
|
||||
"The bot name. Used publically.": "Botの名前。公的に使用されています。",
|
||||
"The bot description. Shown by default in embeds and share links.": "ボットの説明。埋め込みおよび共有リンクでデフォルトで表示されます。",
|
||||
"The bot privacy. Can be public or private.": "Botのプライバシー。パブリックまたはプライベートにすることができます。",
|
||||
"The bot language.": "ボット言語。",
|
||||
"The OpenAI model.": "OpenAIモデル。",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "埋め込みモデル 現在は text-embedding-ada-002 、text-embedding-3-large、text-embedding-3-small、embedd-multilingual-v3.0、および embedd-v4.0 (Coe) に対応しています。",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "コピー元のチームに存在するボットのID。 指定された場合、新しいボットは指定されたボットのコピーとして作成され、すべてのソースは作成後にコピーされます。",
|
||||
"The bot name.": "Botの名前。",
|
||||
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
||||
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
||||
"Minimal": "最小",
|
||||
"Low": "低い",
|
||||
"Medium": "ミディアム",
|
||||
"High": "高い",
|
||||
"URL": "URL",
|
||||
"Document": "ドキュメント",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "複数のURL",
|
||||
"CSV": "CSV",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "公開",
|
||||
"Private": "非公開",
|
||||
"English": "日本語",
|
||||
"Japanese": "日本語",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "ADA002テキストの埋め込み",
|
||||
"Text Embedding 3 Large": "テキストの埋め込み 3 大",
|
||||
"Text Embedding 3 Small": "テキストの埋め込み 3 小さく",
|
||||
"Embed Multilingual V3.0": "Embed Multilingual V3.0",
|
||||
"Embed V4.0": "埋め込み V4.0",
|
||||
"GET": "取得",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "削除",
|
||||
"HEAD": "頭"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI laat je toe om AI-powered chatbots te bouwen die antwoorden van je bestaande documentatie en inhoud trekken. Deze integratie maakt het mogelijk om workflows vragen te stellen aan DocsBot en zijn trainingsbronnen dynamisch bij te werken.",
|
||||
"The API key for authenticating with DocsBot.": "De API-sleutel voor authenticatie met DocsBot.",
|
||||
"Ask Question": "Vraag stellen",
|
||||
"Create Source": "Bron aanmaken",
|
||||
"Upload Source File": "Bronbestand uploaden",
|
||||
"Create Bot": "Bot aanmaken",
|
||||
"Find Bot": "Vind Bot",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Ask a question to a specific bot in a specific team.": "Stel een vraag aan een specifieke bot in een bepaald team.",
|
||||
"Create a new source for a bot.": "Maak een nieuwe bron voor een bot.",
|
||||
"Upload a file to be used as a source.": "Upload een bestand om als bron te worden gebruikt.",
|
||||
"Creates a new bot.": "Maakt een nieuwe bot.",
|
||||
"Finds bot by name.": "Vondt bot op naam.",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Team": "Team",
|
||||
"Bot": "Bot",
|
||||
"Question": "Vraag",
|
||||
"Metadata": "Metagegevens",
|
||||
"Context Items": "Context items",
|
||||
"Human Escalation": "Menselijke Escalatie",
|
||||
"Follow-up Rating": "Beoordeling volgen",
|
||||
"Document Retriever": "Document ontvangen",
|
||||
"Full Source": "Volledige bron",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Testen",
|
||||
"Image URLs": "Afbeelding URLs",
|
||||
"Model": "Model",
|
||||
"Default Language": "Standaard taal",
|
||||
"Reasoning Effort": "Redenen inspanning",
|
||||
"Type": "Type",
|
||||
"Source Properties": "Bron eigenschappen",
|
||||
"File": "Bestand",
|
||||
"Name": "Naam",
|
||||
"Description": "Beschrijving",
|
||||
"Privacy": "Privacy",
|
||||
"Language": "Taal",
|
||||
"Embedding Model": "Model insluiten",
|
||||
"Copy From": "Kopieer van",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopteksten",
|
||||
"Query Parameters": "Query parameters",
|
||||
"Body": "Lichaam",
|
||||
"Response is Binary ?": "Antwoord is binair?",
|
||||
"No Error on Failure": "Geen fout bij fout",
|
||||
"Timeout (in seconds)": "Time-out (in seconden)",
|
||||
"The team to use.": "Het team dat gebruikt moet worden.",
|
||||
"The bot to use.": "De bot om te gebruiken.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "De vraag om de bot te vragen. 2 tot 500 tekens. Maximale toename naar 8K tokens (ruwweg 32K karakters) bij verificatie.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "Een gebruikersidentificatieobject met willekeurige metadata over de gebruiker. Wordt opgeslagen in de vraag en het gesprek. Toetsenverwijzing, e-mail en naam worden weergegeven in lijstenlogboeken van vraaglijsten. Optioneel, standaard ingesteld op nul.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Het aantal bronnen om op te zoeken voor de bot om van te antwoorden. Optioneel, standaard is 5. Onderzoeksmodus gebruikt 16 (duurder token gebruik).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Of u menselijke escalatie wilt inschakelen voor deze vraag. Optioneel, standaard is onwaar.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Of de gebruiker om een follow-up beoordeling moet vragen nadat de vraag is beantwoord. Optioneel, standaard is onjuist.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Of het document moet worden gebruikt voor deze vraag. Optioneel, standaard is onwaar.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Of de volledige broninhoud in de reactie moet worden geretourneerd. Optioneel, standaard is onjuist.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Automatisch knippen resultaten in num groepen. Optioneel, standaard op onwaar.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Of het verzoek is voor testdoeleinden. Optioneel, standaard is onwaar.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "Lijst van afbeeldings-URL's om met de vraag als context te vermelden. Optioneel, standaard null.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Overschrijf het model dat wordt gebruikt voor dit verzoek. Vereist een OpenAI API sleutel om in uw team te worden ingesteld. Optioneel, standaard ingesteld op het model voor de bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "De standaardtaal om te gebruiken als de taal van het gesprek niet duidelijk is. Gebruik locale codes zoals 'en' of 'en-US'. Optioneel, standaard de door de bot ingestelde taal.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Verleen diepte voor het antwoord. Vereist authenticatie om standaard te overschrijven.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Kan url, document, sitemap, wp, urls, csv, rss, qa, youtube zijn. Alle behalve url, sitemap en youtube vereisen het uploaden van een geformatteerd bestand.",
|
||||
"Create Source Properties": "Bron eigenschappen aanmaken",
|
||||
"The file to upload.": "Het te uploaden bestand.",
|
||||
"The bot name. Used publically.": "De bot. Publiek gebruikt.",
|
||||
"The bot description. Shown by default in embeds and share links.": "De bot beschrijving. Standaard weergegeven in embeds en links delen.",
|
||||
"The bot privacy. Can be public or private.": "De bot privacy. Kan openbaar of privé zijn.",
|
||||
"The bot language.": "De bot-taal.",
|
||||
"The OpenAI model.": "Het OpenAI-model.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "Het insluitingsmodel. Ondersteunt momenteel text-embedding-ada-002, text-embedding-3-large text-embedding-3-small embedding-multilingual-v3.0 en embed-v4.0 (Cohere) afhankelijk van je plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "Het ID van een bestaande bot in je team om van te kopiëren. Indien opgegeven, zal de nieuwe bot worden gemaakt als een kopie van de opgegeven bot, met alle bronnen gekopieerd na de creatie.",
|
||||
"The bot name.": "De bot naam.",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
||||
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
|
||||
"Minimal": "Minimaal",
|
||||
"Low": "laag",
|
||||
"Medium": "Middelgroot",
|
||||
"High": "hoog",
|
||||
"URL": "URL",
|
||||
"Document": "Document",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "Meerdere URL's",
|
||||
"CSV": "csv",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Openbaar",
|
||||
"Private": "Privé",
|
||||
"English": "Nederlands",
|
||||
"Japanese": "Afrikaans",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Tekst insluiten ADA 002",
|
||||
"Text Embedding 3 Large": "Tekst insluiten 3 groot",
|
||||
"Text Embedding 3 Small": "Tekst insluiten 3 klein",
|
||||
"Embed Multilingual V3.0": "Meertalige V3.0 insluiten",
|
||||
"Embed V4.0": "V4.0 insluiten",
|
||||
"GET": "KRIJG",
|
||||
"POST": "POSTE",
|
||||
"PATCH": "BEKIJK",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "VERWIJDEREN",
|
||||
"HEAD": "HOOFD"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "O DocsBot AI permite que você crie chatbots baseados em IA que obtêm respostas da sua documentação e conteúdo existentes. Essa integração permite que os workflows façam perguntas ao DocsBot e atualize suas fontes de treinamento de forma dinâmica.",
|
||||
"The API key for authenticating with DocsBot.": "A chave API para autenticação com o DocsBot.",
|
||||
"Ask Question": "Fazer Pergunta",
|
||||
"Create Source": "Criar fonte",
|
||||
"Upload Source File": "Enviar arquivo de origem",
|
||||
"Create Bot": "Criar Bot",
|
||||
"Find Bot": "Encontrar o bot",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Ask a question to a specific bot in a specific team.": "Faça uma pergunta a um bot específico em um time específico.",
|
||||
"Create a new source for a bot.": "Crie uma nova fonte para um bot.",
|
||||
"Upload a file to be used as a source.": "Envie um arquivo para ser usado como fonte.",
|
||||
"Creates a new bot.": "Cria um novo bot.",
|
||||
"Finds bot by name.": "Encontra bot por nome.",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Team": "Equipe",
|
||||
"Bot": "Bot",
|
||||
"Question": "Questão",
|
||||
"Metadata": "Metadados",
|
||||
"Context Items": "Itens de contexto",
|
||||
"Human Escalation": "Intensificação humana",
|
||||
"Follow-up Rating": "Classificação de Acompanhamento",
|
||||
"Document Retriever": "Recuperação de Documento",
|
||||
"Full Source": "Fonte Completa",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Testando",
|
||||
"Image URLs": "URLs da imagem",
|
||||
"Model": "Modelo",
|
||||
"Default Language": "Idioma padrão",
|
||||
"Reasoning Effort": "Esforço Justo",
|
||||
"Type": "tipo",
|
||||
"Source Properties": "Propriedades da fonte",
|
||||
"File": "Arquivo",
|
||||
"Name": "Nome",
|
||||
"Description": "Descrição",
|
||||
"Privacy": "Privacidade",
|
||||
"Language": "IDIOMA",
|
||||
"Embedding Model": "Modelo De Incorporação",
|
||||
"Copy From": "Copiar de",
|
||||
"Method": "Método",
|
||||
"Headers": "Cabeçalhos",
|
||||
"Query Parameters": "Parâmetros da consulta",
|
||||
"Body": "Conteúdo",
|
||||
"Response is Binary ?": "A resposta é binária ?",
|
||||
"No Error on Failure": "Nenhum erro no Failure",
|
||||
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
||||
"The team to use.": "O time a usar.",
|
||||
"The bot to use.": "O bot para usar.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "A pergunta a fazer ao bot. 2 a 500 caracteres. Máximo aumentado para 8K tokens (aproximadamente 32k caracteres) quando autenticado.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "Um objeto de identificação de usuário com metadados arbitrários sobre o usuário. Será salvo na pergunta e conversa. Chaves referenciadas, e-mail e nome são mostrados nos logs do histórico de questões. Opcional, o padrão é nulo.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Número de fontes para que o bot possa responder. Opcional, padrão é 5. O modo de pesquisa usa 16 (uso mais caro de token).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Se deseja habilitar a escalada humana para esta questão. Opcionalmente, por padrão é falso.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Perguntar ao usuário uma avaliação de acompanhamento depois que a pergunta for respondida. Opcional, padrão é falso.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Se deseja usar o documento de recuperação para esta pergunta. Opcional, padrão é falso.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Se você deve retornar o conteúdo fonte completo na resposta. Opcional, padrão é falso.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Autocorte os resultados para um grupo. Opcionalmente, o padrão é falso.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Se a solicitação é para fins de teste. Opcional, o padrão é falso.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "Lista de URLs de imagens a incluir com a questão como contexto. Opcional, o padrão é nulo.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Substituir o modelo usado para esta solicitação. Requer uma chave de API OpenAI para ser definida na sua equipe. Opcional, o padrão é o modelo configurado para o bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "A linguagem padrão a ser usada se a linguagem da conversa não estiver clara. Use códigos de localidade como 'en' ou 'en-US'. Opcional, o padrão é o idioma configurado do bot.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Profundidade da resposta Reasoning. Requer autenticação para substituir o padrão.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Pode ser url, documento, sitemap, wp, urls, csv, rss, qa, youtube. Todos, menos url, sitemaps e youtube requerem o upload de um arquivo formatado.",
|
||||
"Create Source Properties": "Criar propriedades da fonte",
|
||||
"The file to upload.": "O arquivo a ser enviado.",
|
||||
"The bot name. Used publically.": "O nome do bot. Usado publicamente.",
|
||||
"The bot description. Shown by default in embeds and share links.": "A descrição do bot. Exibido por padrão em incorporações e compartilhamento de links.",
|
||||
"The bot privacy. Can be public or private.": "A privacidade do bot. Pode ser pública ou privada.",
|
||||
"The bot language.": "O idioma do bot.",
|
||||
"The OpenAI model.": "O modelo OpenAI.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "O modelo de incorporação. Atualmente suporta text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, e embed-v4.0 (Cohere) dependendo do seu plano.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "O ID de um bot existente em sua equipe para copiar. Se fornecido, o novo bot será criado como uma cópia do bot especificado, com todas as fontes copiadas após a criação.",
|
||||
"The bot name.": "O nome do bot.",
|
||||
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
||||
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
|
||||
"Minimal": "Mínimo",
|
||||
"Low": "baixa",
|
||||
"Medium": "Média",
|
||||
"High": "alta",
|
||||
"URL": "URL:",
|
||||
"Document": "Documento",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "Qua",
|
||||
"Multiple URLs": "Vários URLs",
|
||||
"CSV": "Csv",
|
||||
"RSS": "Resposta",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "Youtube",
|
||||
"Public": "Público",
|
||||
"Private": "Privado",
|
||||
"English": "Portuguese-Brazil",
|
||||
"Japanese": "japonês",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Incorporação de texto ADA 002",
|
||||
"Text Embedding 3 Large": "Incorporação de Texto 3 Grande",
|
||||
"Text Embedding 3 Small": "Incorporação de Texto Pequena",
|
||||
"Embed Multilingual V3.0": "Incorporar multilíngue V3.0",
|
||||
"Embed V4.0": "Incorporar V4.0",
|
||||
"GET": "OBTER",
|
||||
"POST": "POSTAR",
|
||||
"PATCH": "COMPRAR",
|
||||
"PUT": "COLOCAR",
|
||||
"DELETE": "EXCLUIR",
|
||||
"HEAD": "CABEÇA"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.",
|
||||
"The API key for authenticating with DocsBot.": "The API key for authenticating with DocsBot.",
|
||||
"Ask Question": "Ask Question",
|
||||
"Create Source": "Create Source",
|
||||
"Upload Source File": "Upload Source File",
|
||||
"Create Bot": "Create Bot",
|
||||
"Find Bot": "Find Bot",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Ask a question to a specific bot in a specific team.": "Ask a question to a specific bot in a specific team.",
|
||||
"Create a new source for a bot.": "Create a new source for a bot.",
|
||||
"Upload a file to be used as a source.": "Upload a file to be used as a source.",
|
||||
"Creates a new bot.": "Creates a new bot.",
|
||||
"Finds bot by name.": "Finds bot by name.",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Team": "Team",
|
||||
"Bot": "Bot",
|
||||
"Question": "Question",
|
||||
"Metadata": "Metadata",
|
||||
"Context Items": "Context Items",
|
||||
"Human Escalation": "Human Escalation",
|
||||
"Follow-up Rating": "Follow-up Rating",
|
||||
"Document Retriever": "Document Retriever",
|
||||
"Full Source": "Full Source",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Testing",
|
||||
"Image URLs": "Image URLs",
|
||||
"Model": "Model",
|
||||
"Default Language": "Default Language",
|
||||
"Reasoning Effort": "Reasoning Effort",
|
||||
"Type": "Type",
|
||||
"Source Properties": "Source Properties",
|
||||
"File": "File",
|
||||
"Name": "Name",
|
||||
"Description": "Description",
|
||||
"Privacy": "Privacy",
|
||||
"Language": "Language",
|
||||
"Embedding Model": "Embedding Model",
|
||||
"Copy From": "Copy From",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"The team to use.": "The team to use.",
|
||||
"The bot to use.": "The bot to use.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Whether to enable human escalation for this question. Optional, default is false.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Whether to use the document retriever for this question. Optional, default is false.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Whether to return the full source content in the response. Optional, default is false.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Autocut results to num groups. Optional, defaults to false.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Whether the request is for testing purposes. Optional, defaults to false.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "List of image URLs to include with the question as context. Optional, defaults to null.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Reasoning depth for the response. Requires authentication to override default.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.",
|
||||
"Create Source Properties": "Create Source Properties",
|
||||
"The file to upload.": "The file to upload.",
|
||||
"The bot name. Used publically.": "The bot name. Used publically.",
|
||||
"The bot description. Shown by default in embeds and share links.": "The bot description. Shown by default in embeds and share links.",
|
||||
"The bot privacy. Can be public or private.": "The bot privacy. Can be public or private.",
|
||||
"The bot language.": "The bot language.",
|
||||
"The OpenAI model.": "The OpenAI model.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.",
|
||||
"The bot name.": "The bot name.",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"Minimal": "Minimal",
|
||||
"Low": "Low",
|
||||
"Medium": "Medium",
|
||||
"High": "High",
|
||||
"URL": "URL",
|
||||
"Document": "Document",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "Multiple URLs",
|
||||
"CSV": "CSV",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Public",
|
||||
"Private": "Private",
|
||||
"English": "English",
|
||||
"Japanese": "Japanese",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Text Embedding ADA 002",
|
||||
"Text Embedding 3 Large": "Text Embedding 3 Large",
|
||||
"Text Embedding 3 Small": "Text Embedding 3 Small",
|
||||
"Embed Multilingual V3.0": "Embed Multilingual V3.0",
|
||||
"Embed V4.0": "Embed V4.0",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.": "DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.",
|
||||
"The API key for authenticating with DocsBot.": "The API key for authenticating with DocsBot.",
|
||||
"Ask Question": "Ask Question",
|
||||
"Create Source": "Create Source",
|
||||
"Upload Source File": "Upload Source File",
|
||||
"Create Bot": "Create Bot",
|
||||
"Find Bot": "Find Bot",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Ask a question to a specific bot in a specific team.": "Ask a question to a specific bot in a specific team.",
|
||||
"Create a new source for a bot.": "Create a new source for a bot.",
|
||||
"Upload a file to be used as a source.": "Upload a file to be used as a source.",
|
||||
"Creates a new bot.": "Creates a new bot.",
|
||||
"Finds bot by name.": "Finds bot by name.",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Team": "团队",
|
||||
"Bot": "Bot",
|
||||
"Question": "Question",
|
||||
"Metadata": "Metadata",
|
||||
"Context Items": "Context Items",
|
||||
"Human Escalation": "Human Escalation",
|
||||
"Follow-up Rating": "Follow-up Rating",
|
||||
"Document Retriever": "Document Retriever",
|
||||
"Full Source": "Full Source",
|
||||
"Autocut": "Autocut",
|
||||
"Testing": "Testing",
|
||||
"Image URLs": "Image URLs",
|
||||
"Model": "Model",
|
||||
"Default Language": "默认语言",
|
||||
"Reasoning Effort": "Reasoning Effort",
|
||||
"Type": "类型",
|
||||
"Source Properties": "Source Properties",
|
||||
"File": "文件",
|
||||
"Name": "名称",
|
||||
"Description": "描述",
|
||||
"Privacy": "Privacy",
|
||||
"Language": "Language",
|
||||
"Embedding Model": "Embedding Model",
|
||||
"Copy From": "Copy From",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"The team to use.": "The team to use.",
|
||||
"The bot to use.": "The bot to use.",
|
||||
"The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.": "The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.",
|
||||
"A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.": "A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.",
|
||||
"Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).": "Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).",
|
||||
"Whether to enable human escalation for this question. Optional, default is false.": "Whether to enable human escalation for this question. Optional, default is false.",
|
||||
"Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.": "Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.",
|
||||
"Whether to use the document retriever for this question. Optional, default is false.": "Whether to use the document retriever for this question. Optional, default is false.",
|
||||
"Whether to return the full source content in the response. Optional, default is false.": "Whether to return the full source content in the response. Optional, default is false.",
|
||||
"Autocut results to num groups. Optional, defaults to false.": "Autocut results to num groups. Optional, defaults to false.",
|
||||
"Whether the request is for testing purposes. Optional, defaults to false.": "Whether the request is for testing purposes. Optional, defaults to false.",
|
||||
"List of image URLs to include with the question as context. Optional, defaults to null.": "List of image URLs to include with the question as context. Optional, defaults to null.",
|
||||
"Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.": "Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.",
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.": "The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.",
|
||||
"Reasoning depth for the response. Requires authentication to override default.": "Reasoning depth for the response. Requires authentication to override default.",
|
||||
"Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.": "Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.",
|
||||
"Create Source Properties": "Create Source Properties",
|
||||
"The file to upload.": "The file to upload.",
|
||||
"The bot name. Used publically.": "The bot name. Used publically.",
|
||||
"The bot description. Shown by default in embeds and share links.": "The bot description. Shown by default in embeds and share links.",
|
||||
"The bot privacy. Can be public or private.": "The bot privacy. Can be public or private.",
|
||||
"The bot language.": "The bot language.",
|
||||
"The OpenAI model.": "The OpenAI model.",
|
||||
"The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.": "The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.",
|
||||
"The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.": "The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.",
|
||||
"The bot name.": "The bot name.",
|
||||
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"Minimal": "Minimal",
|
||||
"Low": "Low",
|
||||
"Medium": "Medium",
|
||||
"High": "High",
|
||||
"URL": "URL",
|
||||
"Document": "Document",
|
||||
"Sitemap": "Sitemap",
|
||||
"WP": "WP",
|
||||
"Multiple URLs": "Multiple URLs",
|
||||
"CSV": "CSV",
|
||||
"RSS": "RSS",
|
||||
"Q&A": "Q&A",
|
||||
"YouTube": "YouTube",
|
||||
"Public": "Public",
|
||||
"Private": "Private",
|
||||
"English": "English",
|
||||
"Japanese": "Japanese",
|
||||
"GPT-4.1": "GPT-4.1",
|
||||
"GPT-4.1 Mini": "GPT-4.1 Mini",
|
||||
"GPT-4o": "GPT-4o",
|
||||
"GPT-4o Mini": "GPT-4o Mini",
|
||||
"Text Embedding ADA 002": "Text Embedding ADA 002",
|
||||
"Text Embedding 3 Large": "Text Embedding 3 Large",
|
||||
"Text Embedding 3 Small": "Text Embedding 3 Small",
|
||||
"Embed Multilingual V3.0": "Embed Multilingual V3.0",
|
||||
"Embed V4.0": "Embed V4.0",
|
||||
"GET": "获取",
|
||||
"POST": "帖子",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "弹出",
|
||||
"DELETE": "删除",
|
||||
"HEAD": "黑色"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import { createPiece } from '@activepieces/pieces-framework';
|
||||
import { askQuestion } from './lib/actions/ask-question';
|
||||
import { createBot } from './lib/actions/create-bot';
|
||||
import { createSource } from './lib/actions/create-source';
|
||||
import { findBot } from './lib/actions/find-bot';
|
||||
import { uploadSourceFile } from './lib/actions/upload-source-file';
|
||||
import { docsbotAuth, docsbotCommon } from './lib/common';
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
|
||||
export const docsbot = createPiece({
|
||||
displayName: 'DocsBot',
|
||||
description:
|
||||
'DocsBot AI allows you to build AI-powered chatbots that pull answers from your existing documentation and content. This integration enables workflows to ask DocsBot questions and update its training sources dynamically.',
|
||||
auth: docsbotAuth,
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
categories:[PieceCategory.ARTIFICIAL_INTELLIGENCE,PieceCategory.PRODUCTIVITY],
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/docsbot.png',
|
||||
authors: ['LuizDMM'],
|
||||
actions: [
|
||||
askQuestion,
|
||||
createSource,
|
||||
uploadSourceFile,
|
||||
createBot,
|
||||
findBot,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => docsbotCommon.baseUrl,
|
||||
auth: docsbotAuth,
|
||||
authMapping: async (auth) => {
|
||||
return {
|
||||
Authorization: `Bearer ${auth}`,
|
||||
};
|
||||
},
|
||||
}),
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,25 @@
|
||||
import { propsValidation } from '@activepieces/pieces-common';
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { docsbotAuth, docsbotCommon } from '../common';
|
||||
|
||||
export const askQuestion = createAction({
|
||||
auth: docsbotAuth,
|
||||
name: 'askQuestion',
|
||||
displayName: 'Ask Question',
|
||||
description: 'Ask a question to a specific bot in a specific team.',
|
||||
props: docsbotCommon.askQuestionProperties(),
|
||||
async run({ auth: apiKey, propsValue }) {
|
||||
await propsValidation.validateZod(propsValue, docsbotCommon.askQuestionSchema);
|
||||
|
||||
const { image_urls, ...restProps } = propsValue;
|
||||
const conversationId = crypto.randomUUID();
|
||||
return await docsbotCommon.askQuestion({
|
||||
apiKey,
|
||||
image_urls: Array.isArray(image_urls)
|
||||
? (image_urls as string[] | undefined)
|
||||
: undefined,
|
||||
conversationId,
|
||||
...(restProps),
|
||||
});
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,29 @@
|
||||
import { propsValidation } from '@activepieces/pieces-common';
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { docsbotAuth, docsbotCommon } from '../common';
|
||||
|
||||
export const createBot = createAction({
|
||||
auth: docsbotAuth,
|
||||
name: 'createBot',
|
||||
displayName: 'Create Bot',
|
||||
description: 'Creates a new bot.',
|
||||
props: docsbotCommon.createBotProperties(),
|
||||
async run({ auth: apiKey, propsValue }) {
|
||||
await propsValidation.validateZod(propsValue, docsbotCommon.createBotSchema);
|
||||
|
||||
return await docsbotCommon.createBot({
|
||||
apiKey,
|
||||
...propsValue,
|
||||
language: propsValue.language as 'en' | 'jp',
|
||||
privacy: propsValue.privacy as 'public' | 'private',
|
||||
model: propsValue.model as "string" | undefined,
|
||||
embeddingModel: propsValue.embeddingModel as
|
||||
| "text-embedding-ada-002"
|
||||
| "text-embedding-3-large"
|
||||
| "text-embedding-3-small"
|
||||
| "embed-multilingual-v3.0"
|
||||
| "embed-v4.0"
|
||||
| undefined,
|
||||
});
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,43 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import z from 'zod';
|
||||
import { docsbotAuth, docsbotCommon } from '../common';
|
||||
import { createSourceParams } from '../common/types';
|
||||
|
||||
export const createSource = createAction({
|
||||
auth: docsbotAuth,
|
||||
name: 'createSource',
|
||||
displayName: 'Create Source',
|
||||
description: 'Create a new source for a bot.',
|
||||
props: docsbotCommon.createSourceProperties(),
|
||||
async run({ auth: apiKey, propsValue }) {
|
||||
// Some fields are conditionally required, so we need to use Zod validation manually here
|
||||
const { sourceProperties, ...props } = propsValue;
|
||||
const parsedProps: createSourceParams = {
|
||||
...props,
|
||||
...sourceProperties,
|
||||
};
|
||||
try {
|
||||
await docsbotCommon.createSourceSchema.parseAsync(parsedProps);
|
||||
} catch (error) {
|
||||
if (error instanceof z.ZodError) {
|
||||
const errors = error.issues.reduce((acc: Record<string, string>, err: z.ZodIssue) => {
|
||||
const path = err.path.join('.');
|
||||
return {
|
||||
...acc,
|
||||
[path]: err.message,
|
||||
};
|
||||
}, {});
|
||||
throw new Error(JSON.stringify({ errors }, null, 2));
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
|
||||
const { faqs, ...restProps } = parsedProps;
|
||||
|
||||
return await docsbotCommon.createSource({
|
||||
apiKey,
|
||||
...restProps,
|
||||
faqs: faqs as { question: string; answer: string }[] | undefined,
|
||||
});
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { propsValidation } from '@activepieces/pieces-common';
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { docsbotAuth, docsbotCommon } from '../common';
|
||||
|
||||
export const findBot = createAction({
|
||||
auth: docsbotAuth,
|
||||
name: 'findBot',
|
||||
displayName: 'Find Bot',
|
||||
description: 'Finds bot by name.',
|
||||
props: docsbotCommon.findBotProperties(),
|
||||
async run({ auth: apiKey, propsValue }) {
|
||||
await propsValidation.validateZod(propsValue, docsbotCommon.findBotSchema);
|
||||
|
||||
const { teamId, name } = propsValue;
|
||||
const teamBots = await docsbotCommon.listBots({
|
||||
apiKey,
|
||||
teamId,
|
||||
});
|
||||
const needle = (name ?? '').trim().toLowerCase();
|
||||
// Try to find case-insensitive and partial match
|
||||
const bot = teamBots.filter((bot) =>
|
||||
(bot.name ?? '').toLowerCase().includes(needle)
|
||||
);
|
||||
|
||||
if (bot.length === 0) {
|
||||
throw new Error(
|
||||
`No bot found with a name containing "${name}" in the selected team.`
|
||||
);
|
||||
}
|
||||
|
||||
return bot;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,31 @@
|
||||
import { propsValidation } from '@activepieces/pieces-common';
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { docsbotAuth, docsbotCommon } from '../common';
|
||||
|
||||
export const uploadSourceFile = createAction({
|
||||
auth: docsbotAuth,
|
||||
name: 'uploadSourceFile',
|
||||
displayName: 'Upload Source File',
|
||||
description: 'Upload a file to be used as a source.',
|
||||
props: docsbotCommon.uploadSourceFileProperties(),
|
||||
async run({ auth: apiKey, propsValue }) {
|
||||
console.log("file:", propsValue.file, typeof propsValue.file);
|
||||
await propsValidation.validateZod(
|
||||
propsValue,
|
||||
docsbotCommon.uploadSourceFileSchema
|
||||
);
|
||||
|
||||
const { botId, file, teamId } = propsValue;
|
||||
const presignedUrl = await docsbotCommon.createPresignedFileUploadURL({
|
||||
apiKey,
|
||||
teamId,
|
||||
botId,
|
||||
fileName: file.filename,
|
||||
});
|
||||
await docsbotCommon.uploadFileToCloudStorage({
|
||||
uploadUrl: presignedUrl.url,
|
||||
file: file.data,
|
||||
});
|
||||
return presignedUrl;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,158 @@
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { PieceAuth } from '@activepieces/pieces-framework';
|
||||
import * as properties from './properties';
|
||||
import * as schemas from './schemas';
|
||||
import {
|
||||
askQuestionRequestParams,
|
||||
Bot,
|
||||
createBotRequestParams,
|
||||
createSourceRequestParams,
|
||||
listBotsParams,
|
||||
PresignedUpdateUrlResponse,
|
||||
Team,
|
||||
createSourceUrlParams as teamAndBotUrlParams,
|
||||
uploadSourceFileRequestParams,
|
||||
uploadToCloudStorageParams,
|
||||
} from './types';
|
||||
|
||||
export const docsbotAuth = PieceAuth.SecretText({
|
||||
displayName: 'API Key',
|
||||
required: true,
|
||||
description: 'The API key for authenticating with DocsBot.',
|
||||
});
|
||||
|
||||
export const docsbotCommon = {
|
||||
// API Info
|
||||
baseUrl: 'https://docsbot.ai/api',
|
||||
endpoints: {
|
||||
askQuestion: ({ teamId, botId }: teamAndBotUrlParams) =>
|
||||
`https://api.docsbot.ai/teams/${teamId}/bots/${botId}/chat-agent`,
|
||||
createSource: ({ teamId, botId }: teamAndBotUrlParams) =>
|
||||
`${docsbotCommon.baseUrl}/teams/${teamId}/bots/${botId}/sources`,
|
||||
createBot: (teamId: string) =>
|
||||
`${docsbotCommon.baseUrl}/teams/${teamId}/bots`,
|
||||
createPresignedFileUploadURL: ({ teamId, botId }: teamAndBotUrlParams) =>
|
||||
`${docsbotCommon.baseUrl}/teams/${teamId}/bots/${botId}/upload-url`,
|
||||
listTeams: () => `${docsbotCommon.baseUrl}/teams`,
|
||||
listBots: (teamId: string) =>
|
||||
`${docsbotCommon.baseUrl}/teams/${teamId}/bots`,
|
||||
},
|
||||
|
||||
// Properties
|
||||
askQuestionProperties: properties.askQuestion,
|
||||
createSourceProperties: properties.createSource,
|
||||
uploadSourceFileProperties: properties.uploadSourceFile,
|
||||
createBotProperties: properties.createBot,
|
||||
findBotProperties: properties.findBot,
|
||||
|
||||
// Schemas
|
||||
askQuestionSchema: schemas.askQuestion,
|
||||
createSourceSchema: schemas.createSource,
|
||||
uploadSourceFileSchema: schemas.uploadSourceFile,
|
||||
createBotSchema: schemas.createBot,
|
||||
findBotSchema: schemas.findBot,
|
||||
|
||||
// Methods
|
||||
askQuestion: async ({
|
||||
apiKey,
|
||||
teamId,
|
||||
botId,
|
||||
...chatParams
|
||||
}: askQuestionRequestParams) => {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: docsbotCommon.endpoints.askQuestion({ teamId, botId }),
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey.secret_text}`,
|
||||
},
|
||||
body: { ...chatParams },
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
createSource: async ({
|
||||
apiKey,
|
||||
teamId,
|
||||
botId,
|
||||
...sourceParams
|
||||
}: createSourceRequestParams) => {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: docsbotCommon.endpoints.createSource({
|
||||
teamId: teamId,
|
||||
botId: botId,
|
||||
}),
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey.secret_text}`,
|
||||
},
|
||||
body: { ...sourceParams },
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
createBot: async ({
|
||||
apiKey,
|
||||
teamId,
|
||||
...botParams
|
||||
}: createBotRequestParams) => {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: docsbotCommon.endpoints.createBot(teamId),
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey.secret_text}`,
|
||||
},
|
||||
body: { ...botParams },
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
createPresignedFileUploadURL: async ({
|
||||
apiKey,
|
||||
teamId,
|
||||
botId,
|
||||
fileName,
|
||||
}: uploadSourceFileRequestParams) => {
|
||||
const response = await httpClient.sendRequest<PresignedUpdateUrlResponse>({
|
||||
method: HttpMethod.GET,
|
||||
url: docsbotCommon.endpoints.createPresignedFileUploadURL({
|
||||
teamId,
|
||||
botId,
|
||||
}) + `?fileName=${encodeURIComponent(fileName)}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey.secret_text}`,
|
||||
},
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
uploadFileToCloudStorage: async ({
|
||||
uploadUrl,
|
||||
file,
|
||||
}: uploadToCloudStorageParams) => {
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.PUT,
|
||||
url: uploadUrl,
|
||||
headers: {
|
||||
'Content-Type': 'application/octet-stream',
|
||||
},
|
||||
body: file,
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
listBots: async ({ apiKey, teamId }: listBotsParams) => {
|
||||
const resonse = await httpClient.sendRequest<Bot[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: docsbotCommon.endpoints.listBots(teamId),
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey.secret_text}`,
|
||||
},
|
||||
});
|
||||
return resonse.body;
|
||||
},
|
||||
listTeams: async (apiKey: string) => {
|
||||
const response = await httpClient.sendRequest<Team[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: docsbotCommon.endpoints.listTeams(),
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey}`,
|
||||
},
|
||||
});
|
||||
return response.body;
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,324 @@
|
||||
import { Property } from '@activepieces/pieces-framework';
|
||||
import { docsbotAuth, docsbotCommon } from '.';
|
||||
|
||||
// Base reusable properties
|
||||
const teamProperty = ({
|
||||
displayName,
|
||||
description,
|
||||
}: {
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
}) =>
|
||||
Property.Dropdown({
|
||||
auth: docsbotAuth,
|
||||
displayName: displayName || 'Team',
|
||||
description: description || 'The team to use.',
|
||||
required: true,
|
||||
refreshers: ['auth'],
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
placeholder: 'Please connect your account first.',
|
||||
options: [],
|
||||
};
|
||||
}
|
||||
const teams = await docsbotCommon.listTeams(auth.secret_text);
|
||||
return {
|
||||
options: teams.map((team) => ({
|
||||
label: team.name,
|
||||
value: team.id,
|
||||
})),
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
const botProperty = ({
|
||||
displayName,
|
||||
description,
|
||||
}: {
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
}) =>
|
||||
Property.ShortText({
|
||||
displayName: displayName || 'Bot',
|
||||
description: description || 'The bot to use.',
|
||||
required: true,
|
||||
});
|
||||
|
||||
// Action properties
|
||||
|
||||
export const askQuestion = () => ({
|
||||
teamId: teamProperty({}),
|
||||
botId: botProperty({}),
|
||||
question: Property.LongText({
|
||||
displayName: 'Question',
|
||||
required: true,
|
||||
description:
|
||||
'The question to ask the bot. 2 to 500 characters. Max increased to 8K tokens (roughtly 32k chars) when authenticated.',
|
||||
}),
|
||||
metadata: Property.Object({
|
||||
displayName: 'Metadata',
|
||||
description:
|
||||
'A user identification object with arbitrary metadata about the user. Will be saved to the question and conversation. Keys referrer, email, and name are shown in question history logs. Optional, defaults to null.',
|
||||
required: false,
|
||||
}),
|
||||
context_items: Property.Number({
|
||||
displayName: 'Context Items',
|
||||
description:
|
||||
'Number of sources to lookup for the bot to answer from. Optional, default is 5. Research mode uses 16 (more expensive token usage).',
|
||||
required: false,
|
||||
}),
|
||||
human_escalation: Property.Checkbox({
|
||||
displayName: 'Human Escalation',
|
||||
description:
|
||||
'Whether to enable human escalation for this question. Optional, default is false.',
|
||||
required: false,
|
||||
}),
|
||||
followup_rating: Property.Checkbox({
|
||||
displayName: 'Follow-up Rating',
|
||||
description:
|
||||
'Whether to ask the user for a follow-up rating after the question is answered. Optional, default is false.',
|
||||
required: false,
|
||||
}),
|
||||
document_retriever: Property.Checkbox({
|
||||
displayName: 'Document Retriever',
|
||||
description:
|
||||
'Whether to use the document retriever for this question. Optional, default is false.',
|
||||
required: false,
|
||||
}),
|
||||
full_source: Property.Checkbox({
|
||||
displayName: 'Full Source',
|
||||
description:
|
||||
'Whether to return the full source content in the response. Optional, default is false.',
|
||||
required: false,
|
||||
}),
|
||||
autocut: Property.Number({
|
||||
displayName: 'Autocut',
|
||||
description: 'Autocut results to num groups. Optional, defaults to false.',
|
||||
required: false,
|
||||
}),
|
||||
testing: Property.Checkbox({
|
||||
displayName: 'Testing',
|
||||
description:
|
||||
'Whether the request is for testing purposes. Optional, defaults to false.',
|
||||
required: false,
|
||||
}),
|
||||
image_urls: Property.Array({
|
||||
displayName: 'Image URLs',
|
||||
description:
|
||||
'List of image URLs to include with the question as context. Optional, defaults to null.',
|
||||
required: false,
|
||||
}),
|
||||
model: Property.ShortText({
|
||||
displayName: 'Model',
|
||||
description:
|
||||
'Override the model used for this request. Requires an OpenAI API key to be set on your team. Optional, defaults to the model configured for the bot.',
|
||||
required: false,
|
||||
}),
|
||||
default_language: Property.ShortText({
|
||||
displayName: 'Default Language',
|
||||
description:
|
||||
"The default language to use if the language of the conversation is unclear. Use locale codes like 'en' or 'en-US'. Optional, defaults to the bot's configured language.",
|
||||
required: false,
|
||||
}),
|
||||
reasoning_effort: Property.StaticDropdown({
|
||||
displayName: 'Reasoning Effort',
|
||||
description:
|
||||
'Reasoning depth for the response. Requires authentication to override default.',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Minimal', value: 'minimal' },
|
||||
{ label: 'Low', value: 'low' },
|
||||
{ label: 'Medium', value: 'medium' },
|
||||
{ label: 'High', value: 'high' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
export const createSource = () => ({
|
||||
teamId: teamProperty({}),
|
||||
botId: botProperty({}),
|
||||
type: Property.StaticDropdown({
|
||||
displayName: 'Type',
|
||||
description:
|
||||
'Can be url, document, sitemap, wp, urls, csv, rss, qa, youtube. All but url, sitemap, and youtube require uploading a formatted file.',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'URL', value: 'url' },
|
||||
{ label: 'Document', value: 'document' },
|
||||
{ label: 'Sitemap', value: 'sitemap' },
|
||||
{ label: 'WP', value: 'wp' },
|
||||
{ label: 'Multiple URLs', value: 'urls' },
|
||||
{ label: 'CSV', value: 'csv' },
|
||||
{ label: 'RSS', value: 'rss' },
|
||||
{ label: 'Q&A', value: 'qa' },
|
||||
{ label: 'YouTube', value: 'youtube' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
sourceProperties: Property.DynamicProperties({
|
||||
auth: docsbotAuth,
|
||||
displayName: 'Source Properties',
|
||||
description: 'Create Source Properties',
|
||||
required: true,
|
||||
refreshers: ['auth', 'type'],
|
||||
props: async ({ type }) => {
|
||||
return {
|
||||
title: Property.ShortText({
|
||||
displayName: 'Title',
|
||||
description: 'The source title. Required only for document type.',
|
||||
required:
|
||||
typeof type === 'string' && type === 'document' ? true : false,
|
||||
}),
|
||||
url: Property.ShortText({
|
||||
displayName: 'URL',
|
||||
description:
|
||||
'The source url. Optional except for url, sitemap, youtube, and rss types.',
|
||||
required:
|
||||
typeof type === 'string' &&
|
||||
['url', 'sitemap', 'youtube', 'rss'].includes(type)
|
||||
? true
|
||||
: false,
|
||||
}),
|
||||
file: Property.ShortText({
|
||||
displayName: 'File URL',
|
||||
description:
|
||||
'The source file path. Required if type is urls, csv, document, or wp. The is usually the cloud storage path from the Upload Source File action.',
|
||||
required:
|
||||
typeof type === 'string' &&
|
||||
['urls', 'csv', 'document', 'wp'].includes(type)
|
||||
? true
|
||||
: false,
|
||||
}),
|
||||
faqs: Property.Array({
|
||||
displayName: 'FAQs',
|
||||
description:
|
||||
'An array of question and answer objects. Required if type is qa.',
|
||||
required: typeof type === 'string' && type === 'qa' ? true : false,
|
||||
|
||||
properties: {
|
||||
question: Property.LongText({
|
||||
displayName: 'Question',
|
||||
required: true,
|
||||
description: 'The question.',
|
||||
}),
|
||||
answer: Property.LongText({
|
||||
displayName: 'Answer',
|
||||
required: true,
|
||||
description: 'The answer.',
|
||||
}),
|
||||
},
|
||||
}),
|
||||
scheduleInterval: Property.StaticDropdown({
|
||||
displayName: 'Schedule Interval',
|
||||
description:
|
||||
'The source refresh scheduled interval. Can be daily, weekly, monthly, or none depending on your plan. Optional, defaults to none.',
|
||||
required: false,
|
||||
defaultValue: 'none',
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Daily', value: 'daily' },
|
||||
{ label: 'Weekly', value: 'weekly' },
|
||||
{ label: 'Monthly', value: 'monthly' },
|
||||
{ label: 'None', value: 'none' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
};
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
export const uploadSourceFile = () => ({
|
||||
teamId: teamProperty({}),
|
||||
botId: botProperty({}),
|
||||
file: Property.File({
|
||||
displayName: 'File',
|
||||
description: 'The file to upload.',
|
||||
required: true,
|
||||
}),
|
||||
});
|
||||
|
||||
export const createBot = () => ({
|
||||
teamId: teamProperty({}),
|
||||
name: Property.ShortText({
|
||||
displayName: 'Name',
|
||||
description: 'The bot name. Used publically.',
|
||||
required: true,
|
||||
}),
|
||||
description: Property.LongText({
|
||||
displayName: 'Description',
|
||||
description:
|
||||
'The bot description. Shown by default in embeds and share links.',
|
||||
required: true,
|
||||
}),
|
||||
privacy: Property.StaticDropdown({
|
||||
displayName: 'Privacy',
|
||||
description: 'The bot privacy. Can be public or private.',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Public', value: 'public' },
|
||||
{ label: 'Private', value: 'private' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
language: Property.StaticDropdown({
|
||||
displayName: 'Language',
|
||||
description: 'The bot language.',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'English', value: 'en' },
|
||||
{ label: 'Japanese', value: 'jp' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
model: Property.StaticDropdown({
|
||||
displayName: 'Model',
|
||||
description: 'The OpenAI model.',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'GPT-4.1', value: 'gpt-4.1' },
|
||||
{ label: 'GPT-4.1 Mini', value: 'gpt-4.1-mini' },
|
||||
{ label: 'GPT-4o', value: 'gpt-4o' },
|
||||
{ label: 'GPT-4o Mini', value: 'gpt-4o-mini' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
embeddingModel: Property.StaticDropdown({
|
||||
displayName: 'Embedding Model',
|
||||
description:
|
||||
'The embedding model. Currently supports text-embedding-ada-002, text-embedding-3-large, text-embedding-3-small, embed-multilingual-v3.0, and embed-v4.0 (Cohere) depending on your plan.',
|
||||
required: false,
|
||||
options: {
|
||||
options: [
|
||||
{ label: 'Text Embedding ADA 002', value: 'text-embedding-ada-002' },
|
||||
{ label: 'Text Embedding 3 Large', value: 'text-embedding-3-large' },
|
||||
{ label: 'Text Embedding 3 Small', value: 'text-embedding-3-small' },
|
||||
{ label: 'Embed Multilingual V3.0', value: 'embed-multilingual-v3.0' },
|
||||
{ label: 'Embed V4.0', value: 'embed-v4.0' },
|
||||
],
|
||||
},
|
||||
}),
|
||||
copyFrom: Property.ShortText({
|
||||
displayName: 'Copy From',
|
||||
description:
|
||||
'The ID of an existing bot in your team to copy from. If provided, the new bot will be created as a copy of the specified bot, with all sources copied over after creation.',
|
||||
required: false,
|
||||
}),
|
||||
});
|
||||
|
||||
export const findBot = () => ({
|
||||
teamId: teamProperty({}),
|
||||
name: Property.ShortText({
|
||||
displayName: 'Name',
|
||||
description: 'The bot name.',
|
||||
required: true,
|
||||
}),
|
||||
});
|
||||
@@ -0,0 +1,118 @@
|
||||
import z from 'zod';
|
||||
|
||||
export const askQuestion = {
|
||||
teamId: z.string(),
|
||||
botId: z.string(),
|
||||
question: z.string(),
|
||||
metadata: z.object({}).optional(),
|
||||
context_items: z.number().min(1).optional(),
|
||||
human_escalation: z.boolean().optional(),
|
||||
followup_rating: z.boolean().optional(),
|
||||
document_retriever: z.boolean().optional(),
|
||||
full_source: z.boolean().optional(),
|
||||
autocut: z.number().optional(),
|
||||
testing: z.boolean().optional(),
|
||||
image_urls: z.array(z.string().url()).optional(),
|
||||
model: z.string().optional(),
|
||||
default_language: z.string().optional(),
|
||||
reasoning_effort: z.enum(['minimal', 'low', 'medium', 'high']).optional(),
|
||||
};
|
||||
|
||||
export const createSource = z
|
||||
.object({
|
||||
type: z.enum([
|
||||
'url',
|
||||
'document',
|
||||
'sitemap',
|
||||
'wp',
|
||||
'urls',
|
||||
'csv',
|
||||
'rss',
|
||||
'qa',
|
||||
'youtube',
|
||||
]),
|
||||
title: z.string().optional(),
|
||||
url: z.string().url().optional(),
|
||||
file: z.string().optional(),
|
||||
faqs: z
|
||||
.array(
|
||||
z.object({
|
||||
question: z.string(),
|
||||
answer: z.string(),
|
||||
})
|
||||
)
|
||||
.optional(),
|
||||
scheduleInterval: z.enum(['daily', 'weekly', 'monthly', 'none']).optional(),
|
||||
})
|
||||
.superRefine((data, ctx) => {
|
||||
if (data.type === 'document' && (!data.title || data.title.trim() === '')) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
path: ['title'],
|
||||
message: '"title" is required when type is "document".',
|
||||
});
|
||||
}
|
||||
if (
|
||||
['url', 'sitemap', 'youtube', 'rss'].includes(data.type) &&
|
||||
(!data.url || data.url.trim() === '')
|
||||
) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
path: ['url'],
|
||||
message:
|
||||
'"url" is required when type is "url", "sitemap", "youtube", or "rss".',
|
||||
});
|
||||
}
|
||||
if (
|
||||
['urls', 'csv', 'document', 'wp'].includes(data.type) &&
|
||||
(!data.file || data.file.trim() === '')
|
||||
) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
path: ['file'],
|
||||
message:
|
||||
'"file" is required when type is "urls", "csv", "document", or "wp".',
|
||||
});
|
||||
}
|
||||
if (data.type === 'qa' && (!data.faqs || data.faqs.length === 0)) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
path: ['faqs'],
|
||||
message: '"faqs" is required when type is "qa".',
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
export const uploadSourceFile = {
|
||||
teamId: z.string(),
|
||||
botId: z.string(),
|
||||
file: z.object({
|
||||
filename: z.string(),
|
||||
data: z.instanceof(Buffer),
|
||||
extension: z.string().optional(),
|
||||
}),
|
||||
};
|
||||
|
||||
export const createBot = {
|
||||
teamId: z.string(),
|
||||
name: z.string(),
|
||||
description: z.string(),
|
||||
privacy: z.enum(['public', 'private']),
|
||||
language: z.enum(['en', 'jp']),
|
||||
model: z.string().optional(),
|
||||
embeddingModel: z
|
||||
.enum([
|
||||
'text-embedding-ada-002',
|
||||
'text-embedding-3-large',
|
||||
'text-embedding-3-small',
|
||||
'embed-multilingual-v3.0',
|
||||
'embed-v4.0',
|
||||
])
|
||||
.optional(),
|
||||
copyFrom: z.string().optional(),
|
||||
};
|
||||
|
||||
export const findBot = {
|
||||
teamId: z.string(),
|
||||
name: z.string(),
|
||||
};
|
||||
@@ -0,0 +1,125 @@
|
||||
import { AppConnectionValueForAuthProperty } from "@activepieces/pieces-framework";
|
||||
import { docsbotAuth } from ".";
|
||||
|
||||
export type createSourceUrlParams = {
|
||||
teamId: string;
|
||||
botId: string;
|
||||
};
|
||||
|
||||
export interface AuthenticationParams {
|
||||
apiKey: AppConnectionValueForAuthProperty<typeof docsbotAuth>;
|
||||
}
|
||||
|
||||
export interface askQuestionRequestParams extends AuthenticationParams {
|
||||
teamId: string;
|
||||
botId: string;
|
||||
stream?: boolean;
|
||||
conversationId: string;
|
||||
question: string;
|
||||
metadata?: object;
|
||||
context_items?: number;
|
||||
human_escalation?: boolean;
|
||||
followup_rating?: boolean;
|
||||
document_retriever?: boolean;
|
||||
full_source?: boolean;
|
||||
autocut?: number | boolean;
|
||||
testing?: boolean;
|
||||
image_urls?: string[];
|
||||
model?: string;
|
||||
default_language?: string;
|
||||
reasoning_effort?: string;
|
||||
}
|
||||
|
||||
export interface createSourceParams {
|
||||
teamId: string;
|
||||
botId: string;
|
||||
type: string;
|
||||
title?: string;
|
||||
url?: string;
|
||||
file?: string;
|
||||
faqs?: { question: string; answer: string }[];
|
||||
scheduleInterval?: string;
|
||||
}
|
||||
export interface createSourceRequestParams
|
||||
extends AuthenticationParams,
|
||||
createSourceParams {}
|
||||
|
||||
export interface createBotRequestParams extends AuthenticationParams {
|
||||
teamId: string;
|
||||
name: string;
|
||||
description: string;
|
||||
privacy: 'public' | 'private';
|
||||
language: 'en' | 'jp';
|
||||
model?: 'string';
|
||||
embeddingModel?:
|
||||
| 'text-embedding-ada-002'
|
||||
| 'text-embedding-3-large'
|
||||
| 'text-embedding-3-small'
|
||||
| 'embed-multilingual-v3.0'
|
||||
| 'embed-v4.0';
|
||||
copyFrom?: string;
|
||||
}
|
||||
|
||||
export interface findBotParams extends AuthenticationParams {
|
||||
teamId: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface uploadSourceFileRequestParams extends AuthenticationParams {
|
||||
teamId: string;
|
||||
botId: string;
|
||||
fileName: string;
|
||||
}
|
||||
|
||||
export interface uploadToCloudStorageParams {
|
||||
uploadUrl: string;
|
||||
file: Buffer;
|
||||
}
|
||||
|
||||
export interface listBotsParams extends AuthenticationParams {
|
||||
teamId: string;
|
||||
}
|
||||
|
||||
// API Response Objects
|
||||
export interface Team {
|
||||
id: string;
|
||||
roles: Record<string, string>[];
|
||||
name: string;
|
||||
createdAt: string;
|
||||
status: string;
|
||||
questionCount: number;
|
||||
pageCount: number;
|
||||
sourceCount: number;
|
||||
chunkCount: number;
|
||||
openAIKey: string;
|
||||
botCount: number;
|
||||
plan: {
|
||||
name: string;
|
||||
bots: number;
|
||||
sources: number;
|
||||
pages: number;
|
||||
questions: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Bot {
|
||||
id: string;
|
||||
questionCount: number;
|
||||
name: string;
|
||||
description: string;
|
||||
privacy: 'public' | 'private';
|
||||
indexId: string;
|
||||
customPrompt: null;
|
||||
language: string;
|
||||
model: string;
|
||||
createdAt: string;
|
||||
sourceCount: number;
|
||||
pageCount: number;
|
||||
chunkCount: number;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface PresignedUpdateUrlResponse {
|
||||
url: string;
|
||||
file: string;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"importHelpers": true,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noPropertyAccessFromIndexSignature": true
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user