@activepieces/piece-llmrails 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,19 +1,38 @@
1
1
  {
2
2
  "name": "@activepieces/piece-llmrails",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "dependencies": {
5
- "@sinclair/typebox": "0.26.8",
6
- "axios": "^1.6.3",
7
- "dayjs": "1.11.9",
8
- "is-base64": "1.1.0",
9
- "lodash": "4.17.21",
10
- "nanoid": "3.3.6",
5
+ "@ai-sdk/anthropic": "1.2.12",
6
+ "@ai-sdk/google": "1.2.19",
7
+ "@ai-sdk/openai": "1.3.22",
8
+ "@ai-sdk/replicate": "0.2.8",
9
+ "@sinclair/typebox": "0.34.11",
10
+ "ai": "4.3.16",
11
+ "axios": "1.8.3",
12
+ "axios-retry": "4.4.1",
13
+ "deepmerge-ts": "7.1.0",
14
+ "fast-glob": "3.3.3",
15
+ "mime-types": "2.1.35",
16
+ "nanoid": "3.3.8",
11
17
  "semver": "7.6.0",
12
- "@activepieces/pieces-common": "0.2.9",
13
- "@activepieces/pieces-framework": "0.7.23",
14
- "@activepieces/shared": "0.10.92",
15
- "tslib": "1.14.1"
18
+ "zod": "3.25.76",
19
+ "@activepieces/pieces-common": "0.6.3",
20
+ "@activepieces/pieces-framework": "0.18.0",
21
+ "@activepieces/shared": "0.17.11",
22
+ "tslib": "2.8.1"
16
23
  },
24
+ "overrides": {
25
+ "@tryfabric/martian": {
26
+ "@notionhq/client": "$@notionhq/client"
27
+ },
28
+ "vite": {
29
+ "rollup": "npm:@rollup/wasm-node"
30
+ }
31
+ },
32
+ "resolutions": {
33
+ "rollup": "npm:@rollup/wasm-node"
34
+ },
35
+ "types": "./src/index.d.ts",
17
36
  "main": "./src/index.js",
18
37
  "type": "commonjs"
19
38
  }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Schienen-Plattform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFolgen Sie diesen Anweisungen, um Ihren LLMRails API-Schlüssel zu erhalten:\n\n1. Besuchen Sie die folgende Website: https://console.llmrails.com/api-keys.\n2. Sobald Sie auf der Webseite sind, klicken Sie auf einen Schlüssel erstellen.\n3. Sobald Sie einen Schlüssel erstellt haben, kopieren Sie ihn und verwenden Sie ihn für das Api-Schlüsselfeld auf der Seite.\n",
5
+ "Datastore search": "Datenspeichersuche",
6
+ "Custom API Call": "Eigener API-Aufruf",
7
+ "Search in datastore": "Im Datenspeicher suchen",
8
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Text",
11
+ "Hybrid search": "Hybrid-Suche",
12
+ "Summarize": "Summarize",
13
+ "Method": "Methode",
14
+ "Headers": "Kopfzeilen",
15
+ "Query Parameters": "Abfrageparameter",
16
+ "Body": "Körper",
17
+ "No Error on Failure": "Kein Fehler bei Fehler",
18
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
19
+ "Search query": "Suchanfrage",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Die Hybrid-Suche kombiniert dicke und sparsame Einbettungen.",
21
+ "Summarizes the datastore search results": "Zusammenfassung der Suchergebnisse",
22
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
23
+ "GET": "ERHALTEN",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "LÖSCHEN",
28
+ "HEAD": "HEAD"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "Plataforma de vías LLM",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nSigue estas instrucciones para obtener tu LLMRails API Key:\n\n1. Visita el siguiente sitio web: https://console.llmrails.com/api-keys.\n2. Una vez en el sitio web, haga clic en crear una clave.\n3. Una vez que hayas creado una clave, cópiala y úsalo para el campo de la clave Api en el sitio.\n",
5
+ "Datastore search": "Búsqueda de datos",
6
+ "Custom API Call": "Llamada API personalizada",
7
+ "Search in datastore": "Buscar en datastore",
8
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Texto",
11
+ "Hybrid search": "Búsqueda hibrida",
12
+ "Summarize": "Summarize",
13
+ "Method": "Método",
14
+ "Headers": "Encabezados",
15
+ "Query Parameters": "Parámetros de consulta",
16
+ "Body": "Cuerpo",
17
+ "No Error on Failure": "No hay ningún error en fallo",
18
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
19
+ "Search query": "Buscar consulta",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Hybrid search is combining dense and sparse embeddings.",
21
+ "Summarizes the datastore search results": "Resume los resultados de búsqueda del datastore",
22
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
23
+ "GET": "RECOGER",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "BORRAR",
28
+ "HEAD": "LIMPIO"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "Plateforme Rails LLM",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "Recherche de datastore",
6
+ "Custom API Call": "Appel API personnalisé",
7
+ "Search in datastore": "Rechercher dans le datastore",
8
+ "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Texte du texte",
11
+ "Hybrid search": "Recherche hybride",
12
+ "Summarize": "Summarize",
13
+ "Method": "Méthode",
14
+ "Headers": "En-têtes",
15
+ "Query Parameters": "Paramètres de requête",
16
+ "Body": "Corps",
17
+ "No Error on Failure": "Aucune erreur en cas d'échec",
18
+ "Timeout (in seconds)": "Délai d'attente (en secondes)",
19
+ "Search query": "Requête de recherche",
20
+ "Hybrid search is combining dense and sparse embeddings.": "La recherche hybride combine des embeddings denses et maigres.",
21
+ "Summarizes the datastore search results": "Résume les résultats de la recherche du datastore",
22
+ "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
23
+ "GET": "OBTENIR",
24
+ "POST": "POSTER",
25
+ "PATCH": "PATCH",
26
+ "PUT": "EFFACER",
27
+ "DELETE": "SUPPRIMER",
28
+ "HEAD": "TÊTE"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Rails Platform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "データストア検索",
6
+ "Custom API Call": "カスタムAPI通話",
7
+ "Search in datastore": "データストアで検索",
8
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "テキスト",
11
+ "Hybrid search": "ハイブリッド検索",
12
+ "Summarize": "Summarize",
13
+ "Method": "方法",
14
+ "Headers": "ヘッダー",
15
+ "Query Parameters": "クエリパラメータ",
16
+ "Body": "本文",
17
+ "No Error on Failure": "失敗時にエラーはありません",
18
+ "Timeout (in seconds)": "タイムアウト(秒)",
19
+ "Search query": "検索クエリ",
20
+ "Hybrid search is combining dense and sparse embeddings.": "ハイブリッド検索は、緻密で疎な埋め込みを組み合わせたものです。",
21
+ "Summarizes the datastore search results": "データストア検索結果をまとめます",
22
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
23
+ "GET": "取得",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "削除",
28
+ "HEAD": "頭"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Rails Platform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nVolg deze instructies om uw LLMRails API-sleutel te verkrijgen:\n\n1. Bezoek de volgende website: https://console.llmrails.com/api-keys.\n2. Eenmaal op de website, klik op een sleutel maken.\n3. Zodra u een sleutel heeft gemaakt, kopieer deze en gebruik deze voor het veld Api sleutel op de site.\n",
5
+ "Datastore search": "Dastore zoeken",
6
+ "Custom API Call": "Custom API Call",
7
+ "Search in datastore": "Zoeken in datastore",
8
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Tekstveld",
11
+ "Hybrid search": "Hybride zoekopdracht",
12
+ "Summarize": "Summarize",
13
+ "Method": "Methode",
14
+ "Headers": "Kopteksten",
15
+ "Query Parameters": "Query parameters",
16
+ "Body": "Lichaam",
17
+ "No Error on Failure": "Geen fout bij fout",
18
+ "Timeout (in seconds)": "Time-out (in seconden)",
19
+ "Search query": "Zoek query",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Hybride zoekopdracht combineert dikke en spaarzame embedden.",
21
+ "Summarizes the datastore search results": "Vat de datastore zoekresultaten samen",
22
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
23
+ "GET": "KRIJG",
24
+ "POST": "POSTE",
25
+ "PATCH": "BEKIJK",
26
+ "PUT": "PUT",
27
+ "DELETE": "VERWIJDEREN",
28
+ "HEAD": "HOOFD"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "Plataforma de trilhos LLM",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nSiga estas instruções para obter sua chave de API LLMRails:\n\n1. Visite o seguinte site: https://console.llmrails.com/api-keys.\n2. Uma vez no site, clique em criar uma chave.\n3. Depois de criar uma chave, copie-a e use-a para o campo de chave Api no site.\n",
5
+ "Datastore search": "Pesquisa de dados",
6
+ "Custom API Call": "Chamada de API personalizada",
7
+ "Search in datastore": "Pesquisar no datastore",
8
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "texto",
11
+ "Hybrid search": "Pesquisa híbrida",
12
+ "Summarize": "Summarize",
13
+ "Method": "Método",
14
+ "Headers": "Cabeçalhos",
15
+ "Query Parameters": "Parâmetros da consulta",
16
+ "Body": "Conteúdo",
17
+ "No Error on Failure": "Nenhum erro no Failure",
18
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
19
+ "Search query": "Consulta de pesquisa",
20
+ "Hybrid search is combining dense and sparse embeddings.": "A busca híbrida está combinando áreas densas e esparsas incorporadas.",
21
+ "Summarizes the datastore search results": "Resume os resultados da pesquisa de datastore",
22
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
23
+ "GET": "OBTER",
24
+ "POST": "POSTAR",
25
+ "PATCH": "COMPRAR",
26
+ "PUT": "COLOCAR",
27
+ "DELETE": "EXCLUIR",
28
+ "HEAD": "CABEÇA"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "Платформа LLM Rails",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "Поиск хранилища",
6
+ "Custom API Call": "Пользовательский вызов API",
7
+ "Search in datastore": "Поиск в хранилище данных",
8
+ "Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Текст",
11
+ "Hybrid search": "Поиск гибридных",
12
+ "Summarize": "Summarize",
13
+ "Method": "Метод",
14
+ "Headers": "Заголовки",
15
+ "Query Parameters": "Параметры запроса",
16
+ "Body": "Тело",
17
+ "No Error on Failure": "Нет ошибок при ошибке",
18
+ "Timeout (in seconds)": "Таймаут (в секундах)",
19
+ "Search query": "Поисковый запрос",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Гибридный поиск сочетает плотные и резкие встраивания.",
21
+ "Summarizes the datastore search results": "Суммирует результаты поиска в хранилище данных",
22
+ "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
23
+ "GET": "ПОЛУЧИТЬ",
24
+ "POST": "ПОСТ",
25
+ "PATCH": "ПАТЧ",
26
+ "PUT": "ПОКУПИТЬ",
27
+ "DELETE": "УДАЛИТЬ",
28
+ "HEAD": "HEAD"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Rails Platform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "Datastore search",
6
+ "Custom API Call": "Custom API Call",
7
+ "Search in datastore": "Search in datastore",
8
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Text",
11
+ "Hybrid search": "Hybrid search",
12
+ "Summarize": "Summarize",
13
+ "Method": "Method",
14
+ "Headers": "Headers",
15
+ "Query Parameters": "Query Parameters",
16
+ "Body": "Body",
17
+ "No Error on Failure": "No Error on Failure",
18
+ "Timeout (in seconds)": "Timeout (in seconds)",
19
+ "Search query": "Search query",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Hybrid search is combining dense and sparse embeddings.",
21
+ "Summarizes the datastore search results": "Summarizes the datastore search results",
22
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
23
+ "GET": "GET",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "DELETE",
28
+ "HEAD": "HEAD"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Rails Platform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "Datastore search",
6
+ "Custom API Call": "Custom API Call",
7
+ "Search in datastore": "Search in datastore",
8
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "Text",
11
+ "Hybrid search": "Hybrid search",
12
+ "Summarize": "Summarize",
13
+ "Method": "Method",
14
+ "Headers": "Headers",
15
+ "Query Parameters": "Query Parameters",
16
+ "Body": "Body",
17
+ "No Error on Failure": "No Error on Failure",
18
+ "Timeout (in seconds)": "Timeout (in seconds)",
19
+ "Search query": "Search query",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Hybrid search is combining dense and sparse embeddings.",
21
+ "Summarizes the datastore search results": "Summarizes the datastore search results",
22
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
23
+ "GET": "GET",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "DELETE",
28
+ "HEAD": "HEAD"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "LLMRails": "LLMRails",
3
+ "LLM Rails Platform": "LLM Rails Platform",
4
+ "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n": "\nFollow these instructions to get your LLMRails API Key:\n\n1. Visit the following website: https://console.llmrails.com/api-keys.\n2. Once on the website, click on create a key.\n3. Once you have created a key, copy it and use it for the Api key field on the site.\n",
5
+ "Datastore search": "Datastore search",
6
+ "Custom API Call": "自定义 API 呼叫",
7
+ "Search in datastore": "Search in datastore",
8
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
9
+ "Datastore ID": "Datastore ID",
10
+ "Text": "文本",
11
+ "Hybrid search": "Hybrid search",
12
+ "Summarize": "Summarize",
13
+ "Method": "方法",
14
+ "Headers": "信头",
15
+ "Query Parameters": "查询参数",
16
+ "Body": "正文内容",
17
+ "No Error on Failure": "失败时没有错误",
18
+ "Timeout (in seconds)": "超时(秒)",
19
+ "Search query": "Search query",
20
+ "Hybrid search is combining dense and sparse embeddings.": "Hybrid search is combining dense and sparse embeddings.",
21
+ "Summarizes the datastore search results": "Summarizes the datastore search results",
22
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
23
+ "GET": "获取",
24
+ "POST": "帖子",
25
+ "PATCH": "PATCH",
26
+ "PUT": "弹出",
27
+ "DELETE": "删除",
28
+ "HEAD": "黑色"
29
+ }
package/src/index.js CHANGED
@@ -17,7 +17,7 @@ exports.llmrailsAuth = pieces_framework_1.PieceAuth.SecretText({
17
17
  displayName: 'API Key',
18
18
  description: markdownDescription,
19
19
  required: true,
20
- validate: ({ auth }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
20
+ validate: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
21
21
  if (auth.startsWith('api_')) {
22
22
  return {
23
23
  valid: true,
@@ -32,18 +32,20 @@ exports.llmrailsAuth = pieces_framework_1.PieceAuth.SecretText({
32
32
  exports.llmrails = (0, pieces_framework_1.createPiece)({
33
33
  displayName: 'LLMRails',
34
34
  description: 'LLM Rails Platform',
35
- minimumSupportedRelease: '0.5.0',
35
+ minimumSupportedRelease: '0.30.0',
36
36
  logoUrl: 'https://cdn.activepieces.com/pieces/llmrails.png',
37
37
  categories: [shared_1.PieceCategory.ARTIFICIAL_INTELLIGENCE],
38
- authors: ['w95'],
38
+ authors: ["w95", "kishanprmr", "MoShizzle", "abuaboud"],
39
39
  auth: exports.llmrailsAuth,
40
40
  actions: [
41
41
  datastore_search_1.datastoreSearch,
42
42
  (0, pieces_common_1.createCustomApiCallAction)({
43
43
  baseUrl: () => 'https://api.llmrails.com/v1',
44
44
  auth: exports.llmrailsAuth,
45
- authMapping: (auth) => ({
46
- 'X-API-KEY': auth,
45
+ authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
46
+ return ({
47
+ 'X-API-KEY': auth,
48
+ });
47
49
  }),
48
50
  }),
49
51
  ],
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/llmrails/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,qEAAiE;AAEjE,MAAM,mBAAmB,GAAG;;;;;;CAM3B,CAAC;AAEW,QAAA,YAAY,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC/C,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;QAC3B,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YAC3B,OAAO;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC;SACH;QACD,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE,iBAAiB;SACzB,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC;AAEU,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC;IAClC,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,oBAAoB;IAEjC,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,kDAAkD;IAC3D,UAAU,EAAE,CAAC,sBAAa,CAAC,uBAAuB,CAAC;IACnD,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,IAAI,EAAE,oBAAY;IAClB,OAAO,EAAE;QACP,kCAAe;QACf,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,6BAA6B;YAC5C,IAAI,EAAE,oBAAY;YAClB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtB,WAAW,EAAE,IAAc;aAC5B,CAAC;SACH,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/llmrails/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,qEAAiE;AAEjE,MAAM,mBAAmB,GAAG;;;;;;CAM3B,CAAC;AAEW,QAAA,YAAY,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC/C,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACvB,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,OAAO;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC;QACJ,CAAC;QACD,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE,iBAAiB;SACzB,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC;AAEU,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC;IAClC,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,oBAAoB;IAEjC,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,kDAAkD;IAC3D,UAAU,EAAE,CAAC,sBAAa,CAAC,uBAAuB,CAAC;IACnD,OAAO,EAAE,CAAC,KAAK,EAAC,YAAY,EAAC,WAAW,EAAC,UAAU,CAAC;IACpD,IAAI,EAAE,oBAAY;IAClB,OAAO,EAAE;QACP,kCAAe;QACf,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,6BAA6B;YAC5C,IAAI,EAAE,oBAAY;YAClB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAAC,OAAA,CAAC;oBAC5B,WAAW,EAAE,IAAc;iBAC5B,CAAC,CAAA;cAAA;SACH,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}