@activepieces/piece-amazon-bedrock 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/i18n/nl.json CHANGED
@@ -3,6 +3,8 @@
3
3
  "Access Key ID": "Toegangssleutel ID",
4
4
  "Secret Access Key": "Geheime toegangssleutel",
5
5
  "Region": "Regio",
6
+ "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.": "Uw AWS toegangssleutel ID. Gevonden in AWS IAM console → Gebruikers → Veiligheidsgegevens.",
7
+ "Your AWS secret access key. Only shown once when you create the access key — store it safely.": "Je AWS geheime toegangssleutel. Slechts eenmaal getoond wanneer je de toegangssleutel aanmaakt — sla deze veilig op.",
6
8
  "US East (N. Virginia) [us-east-1]": "VS Oost (N. Virginia) [us-east-1]",
7
9
  "US East (Ohio) [us-east-2]": "VS Oost (Ohio) [us-east-2]",
8
10
  "US West (Oregon) [us-west-2]": "VS West (Oregon) [us-west-2]",
@@ -23,7 +25,7 @@
23
25
  "Europe (Stockholm) [eu-north-1]": "Europe (Stockholm) [eu-north-1]",
24
26
  "Europe (Zurich) [eu-central-2]": "Europa (Zurich) [eu-central-2]",
25
27
  "South America (São Paulo) [sa-east-1]": "Zuid-Amerika (Saľo Paulo) [sa-east-1]",
26
- "AWS Bedrock authentication using Access Key and Secret Key.": "AWS Bedrock authenticatie met behulp van toegangssleutel en geheime sleutel.",
28
+ "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bed": "Verbind je AWS account om Amazon Bedrock AI modellen te gebruiken.\n\n**Hoe krijg je je inloggegevens:**\n1. Open de [AWS IAM Console](https://console.aws.amazon.com/iam/) en ga naar **Gebruikers**.\n2. Selecteer uw gebruiker (of maak een nieuwe aan), ga vervolgens naar **Beveiligingsgegevens**.\n3. Klik op **Creëer toegangssleutel** - kopieer zowel de toegangssleutel ID als de geheime toegangssleutel.\n4. Zorg ervoor dat de IAM gebruiker de **AmazonBedrockFullAccess** policy heeft.\n\n**modeltoegang inschakelen:** In de [AWS Bedrock Console](https://console.aws.amazon.com/bedrock/), ga naar **modeltoegang** en vraag toegang tot de modellen die u wilt gebruiken.",
27
29
  "Ask Bedrock": "Vraag Bedrock",
28
30
  "Generate Content from Image": "Genereer inhoud van afbeelding",
29
31
  "Generate Image": "Afbeelding genereren",
@@ -41,7 +43,10 @@
41
43
  "Maximum Tokens": "Maximaal aantal tokens",
42
44
  "Top P": "Boven P",
43
45
  "Stop Sequences": "Stop sequenties",
44
- "Memory Key": "Geheugen Sleutel",
46
+ "Conversation Memory ID": "Gesprek geheugen ID",
47
+ "Attachment Source (Optional)": "Bijlage bron (optioneel)",
48
+ "Attachment": "Bijlage",
49
+ "Image Source": "Bron afbeelding",
45
50
  "Image": "Afbeelding",
46
51
  "Negative Prompt": "Negatieve Prompt",
47
52
  "Width": "Width",
@@ -49,26 +54,31 @@
49
54
  "Seed": "Seed",
50
55
  "Input Text": "Input Text",
51
56
  "Embedding Purpose": "Doel insluiten",
52
- "Dimensions": "Mål",
53
- "Normalize": "Normaliseren",
57
+ "Vector Dimensions": "Vector afmetingen",
58
+ "Normalize Output": "Uitvoer normaliseren",
54
59
  "Service": "Diensten",
55
60
  "Method": "Methode",
56
61
  "Path": "Pad",
57
62
  "Headers": "Kopteksten",
58
63
  "Query Parameters": "Query parameters",
59
64
  "Body": "Lichaam",
60
- "No Error on Failure": "Geen fout bij fout",
65
+ "Return Error as Output": "Retourfout als uitvoer",
61
66
  "Timeout (in seconds)": "Time-out (in seconden)",
62
67
  "The foundation model to use for generation.": "Het te gebruiken basismodel voor generatie.",
68
+ "The message or question to send to the model.": "Het bericht of de vraag om naar het model te sturen.",
69
+ "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").": "Instructies die het gedrag en persona van het model instellen (bijvoorbeeld \"Je bent een handige assistent die beknopt antwoordt.\").",
70
+ "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.": "Bepaalt hoe creatief of voorspelbaar de reactie is. Lagere waarden (bijv. 0,2) geven gerichte, consistente antwoorden. Hogere waarden (bijv. 0,9) geven een gevarieerde, creatieve uitvoer.",
71
+ "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.": "De maximale lengte van het antwoord. Eén token is ongeveer 4 tekens. 2048 tokens ~1500 woorden.",
72
+ "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.": "Beperkt de pool met woorden waar het model van profiteert (0-1). Lagere waarden maken reacties meer focus. Laat op 1 staan om dit filter uit te schakelen en temperatuur te gebruiken.",
73
+ "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.": "Tekenreeksen die, wanneer ze worden gegenereerd, ervoor zorgen dat het model onmiddelijk stopt (bijvoorbeeld \"END\" of \"\\n\\n\"). Tot 4 sequenties.",
74
+ "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.": "Een unieke naam voor het geheugen van dit gesprek (bijv. \"support-chat-user-123\"). Wanneer ingesteld, onthoudt het model eerdere berichten in deze flow. Laat leeg voor een eenmalige interactie zonder geheugen.",
75
+ "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.": "Voeg optioneel een bestand toe naast uw prompt. Kies of u het direct wilt uploaden of refereren aan S3.",
76
+ "The foundation model to use. Must support image input.": "Het te gebruiken basismodel. Moet de afbeelding ondersteunen.",
77
+ "Choose how to provide the image — upload directly or reference one already in S3.": "Kies hoe de afbeelding moet worden opgegeven – upload direct of gebruik er een al in S3.",
78
+ "What do you want the model to tell you about the image?": "Wat wil je dat het model je vertelt over de afbeelding?",
63
79
  "Instructions that guide the model behavior.": "Instructies die leiden tot het modelgedrag.",
64
80
  "Controls randomness. Lower values produce more deterministic output.": "Bepaalt willekeurigheid. Lagere waarden produceren deterministische uitvoer.",
65
81
  "The maximum number of tokens to generate.": "Het maximum aantal te genereren tokens",
66
- "Nucleus sampling: the model considers tokens with top_p probability mass.": "Nucleus sampling: het model beschouwt tokens met top_p waarschijnlijkheid masker.",
67
- "Sequences that will cause the model to stop generating. Up to 4 sequences.": "Sequenties die ervoor zorgen dat het model stopt met genereren. Tot 4 sequenties.",
68
- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.": "Een geheugensleutel die de chatgeschiedenis gedeeld houdt over uitvoeringen en stromen. Houd het leeg om het model te verlaten zonder het geheugen van vorige berichten.",
69
- "The foundation model to use. Must support image input.": "Het te gebruiken basismodel. Moet de afbeelding ondersteunen.",
70
- "The image to analyze (PNG, JPEG, GIF, or WebP).": "De afbeelding om te analyseren (PNG, JPEG, GIF, of WebP).",
71
- "What do you want the model to tell you about the image?": "Wat wil je dat het model je vertelt over de afbeelding?",
72
82
  "The image generation model to use.": "Het te gebruiken model voor het genereren van afbeeldingen.",
73
83
  "A text description of the image you want to generate.": "Een tekstbeschrijving van de afbeelding die u wilt genereren.",
74
84
  "Describe what you do NOT want in the image. Helps refine the output.": "Beschrijf wat je NIET wilt in de afbeelding. Helpt de uitvoer te verfijnen.",
@@ -77,14 +87,20 @@
77
87
  "A seed for reproducible results. Use the same seed and prompt to get the same image.": "Een seed voor reproduceerbare resultaten. Gebruik dezelfde seed en prompt om dezelfde afbeelding te krijgen.",
78
88
  "The embedding model to use.": "Het te gebruiken insluitingsmodel.",
79
89
  "The text to generate embeddings for.": "De tekst waar embeddings voor worden gegenereerd.",
80
- "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.": "Optimaliseer insluitingen voor uw hoofdletter. Wordt alleen gebruikt door Nova Multimodale Embedden.",
81
- "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.": "Het aantal afmetingen voor de output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.",
82
- "Whether to normalize the output embedding vector. Supported by Titan Embed v2.": "Of de output embedding vector moet worden genormaliseerd. Ondersteund door Titan Embed v2.",
90
+ "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.": "Hoe de insluitingen zullen worden gebruikt - helpt het model de uitvoer te optimaliseren. Alleen van toepassing op Nova Multimodale Embeddings modellen. Laat als \"Generic Index\" als je het niet weet.",
91
+ "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.": "Grootte van de output vector. Groter = nauwkeuriger maar trager/kostenplakker. Titan Embed v2 ondersteunt: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Laat leeg om de standaard model te gebruiken.",
92
+ "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.": "Schaal de output vector zodat de waarden tussen -1 en 1 zijn. Aanbevolen voor vergelijkende vergelijkingen. Alleen ondersteund door Titan Embed v2.",
83
93
  "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).": "Selecteer het eindpunt van de AWS Bedrock service om te bellen. Gebruik \"Bedrock\" voor controle van vliegtuigoperaties (bijv. ListFoundationModels) en \"Bedrock Runtime\" voor inference-operaties (bijv. InvokeModel).",
94
+ "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.": "HTTP methode voor het verzoek. Gebruik GET om gegevens, POST/PUT op te halen om te maken of bij te werken, DELETE om te verwijderen.",
84
95
  "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.": "Het API-pad (bijv. /foundation-models, /model/{modelId}/invoke). Zie de AWS Bedrock API-referentie voor beschikbare eindpunten.",
85
96
  "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.": "Extra headers om op te nemen. Autorisatie headers worden automatisch toegevoegd via AWS Signature V4.",
86
97
  "Query parameters to include in the request URL.": "Query parameters om op te nemen in de request URL.",
87
98
  "JSON body for POST/PUT requests.": "JSON body voor POST/PUT verzoeken.",
99
+ "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.": "Wanneer ingeschakeld, worden fouten (bv. 4xx/5xx reacties) teruggestuurd als uitvoer in plaats van het stoppen van de flow. Handig wanneer je fouten in een latere stap wilt behandelen.",
100
+ "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.": "Hoe lang te wachten op een antwoord voordat het verzoek wordt geannuleerd. Standaard ingesteld op 30 seconden.",
101
+ "Upload a file": "Bestand uploaden",
102
+ "From S3 bucket": "Van S3 emmer",
103
+ "Upload an image": "Upload een afbeelding",
88
104
  "Generic Index": "Algemene index",
89
105
  "Generic Retrieval": "Algemene ophaling",
90
106
  "Text Retrieval": "Tekst ophalen",
package/src/i18n/pt.json CHANGED
@@ -3,6 +3,8 @@
3
3
  "Access Key ID": "Chave ID de acesso",
4
4
  "Secret Access Key": "Chave de Acesso Secreta",
5
5
  "Region": "Região",
6
+ "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.": "Sua ID de chave de acesso AWS. Encontrada em AWS IAM Console → Usuários → credenciais de segurança.",
7
+ "Your AWS secret access key. Only shown once when you create the access key — store it safely.": "Sua chave de acesso secreta AWS. Somente exibida uma vez quando você criar a chave de acesso — armazene-a com segurança.",
6
8
  "US East (N. Virginia) [us-east-1]": "Leste dos EUA (N. Virgínia) [us-east-1]",
7
9
  "US East (Ohio) [us-east-2]": "Leste dos EUA (Ohio) [us-east-2]",
8
10
  "US West (Oregon) [us-west-2]": "Oeste dos EUA (Oregon) [us-west-2]",
@@ -23,7 +25,7 @@
23
25
  "Europe (Stockholm) [eu-north-1]": "Europe (Stockholm) [eu-north-1]",
24
26
  "Europe (Zurich) [eu-central-2]": "Europa (Zurich) [eu-central-2]",
25
27
  "South America (São Paulo) [sa-east-1]": "América do Sul (Sa├o Paulo) [sa-east-1]",
26
- "AWS Bedrock authentication using Access Key and Secret Key.": "Autenticação AWS Bedrock utilizando a Chave de Acesso e Chave Secreta.",
28
+ "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bed": "Conecte sua conta AWS para usar modelos Amazon Bedrock AI.\n\n**Como obter suas credenciais:**\n1. Abra o [Console de AWS](https://console.aws.amazon.com/iam/) e vá para **Usuários**.\n2. Selecione seu usuário (ou crie um novo), então vá para **credenciais de segurança**.\n3. Clique em **Criar chave de acesso** — copie o ID da chave de acesso e chave secreta de acesso.\n4. Certifique-se que o usuário do IAM está anexado à política **AmazonBedrockFullAccess**.\n\n**Habilitar acesso ao modelo:** No [Console de Bedrock AWS](https://console.aws.amazon.com/bedrock/), vá em **Modelo de acesso** e solicite acesso aos modelos que você deseja usar.",
27
29
  "Ask Bedrock": "Pergunte Rocha",
28
30
  "Generate Content from Image": "Gerar Conteúdo a partir da Imagem",
29
31
  "Generate Image": "Gerar Imagem",
@@ -41,7 +43,10 @@
41
43
  "Maximum Tokens": "Máximo de Tokens",
42
44
  "Top P": "Superior P",
43
45
  "Stop Sequences": "Parar Sequências",
44
- "Memory Key": "Chave de memória",
46
+ "Conversation Memory ID": "ID da Memória Conversa",
47
+ "Attachment Source (Optional)": "Fonte de Anexos (opcional)",
48
+ "Attachment": "Anexo",
49
+ "Image Source": "Fonte da imagem",
45
50
  "Image": "Imagem:",
46
51
  "Negative Prompt": "Aviso Negativo",
47
52
  "Width": "Width",
@@ -49,26 +54,31 @@
49
54
  "Seed": "Semente",
50
55
  "Input Text": "Input Text",
51
56
  "Embedding Purpose": "Propósito de Incorporação",
52
- "Dimensions": "cotas",
53
- "Normalize": "Normalizar",
57
+ "Vector Dimensions": "Dimensões vetoriais",
58
+ "Normalize Output": "Normalizar saída",
54
59
  "Service": "Serviço",
55
60
  "Method": "Método",
56
61
  "Path": "Caminho",
57
62
  "Headers": "Cabeçalhos",
58
63
  "Query Parameters": "Parâmetros da consulta",
59
64
  "Body": "Conteúdo",
60
- "No Error on Failure": "Nenhum erro no Failure",
65
+ "Return Error as Output": "Erro ao retornar como saída",
61
66
  "Timeout (in seconds)": "Tempo limite (em segundos)",
62
67
  "The foundation model to use for generation.": "O modelo base a ser usado por geração.",
68
+ "The message or question to send to the model.": "A mensagem ou pergunta a enviar para o modelo.",
69
+ "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").": "Instruções que definem o comportamento e persona do modelo (por exemplo, \"Você é um assistente útil que responde de forma concisa.\").",
70
+ "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.": "Controla como a resposta é criativa ou previsível. Valores baixos (por exemplo, 0.2) dão respostas focadas e consistentes. Valores maiores (por exemplo, 0.9) dão mais conteúdo criativo e variado.",
71
+ "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.": "O comprimento máximo da resposta. Um token tem cerca de 4 caracteres. 2048 tokens, ~1500 palavras.",
72
+ "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.": "Limita o conjunto de palavras que o modelo escolhe de (0–1). Valores baixos tornam as respostas mais focadas. Deixe a 1 para desativar este filtro e usar Temperatura.",
73
+ "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.": "Textos de caracteres que, quando gerados, fazem com que o modelo pare imediatamente (por exemplo, \"END\" ou \"\\n\\n\"). Até 4 sequências.",
74
+ "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.": "Um nome exclusivo para a memória desta conversa (por exemplo, \"support-chat-user-123\"). Quando definido, o modelo lembra as mensagens anteriores neste fluxo. Deixe em branco para uma interação de virada única sem memória.",
75
+ "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.": "Opcionalmente, inclua um arquivo ao lado do seu prompt . Escolha se deseja fazer o upload diretamente ou fazer referência a um do S3.",
76
+ "The foundation model to use. Must support image input.": "O modelo da base a ser usado. Deve suportar a entrada de imagem.",
77
+ "Choose how to provide the image — upload directly or reference one already in S3.": "Escolha como fornecer a imagem — carregue diretamente ou faça referência a uma já em S3.",
78
+ "What do you want the model to tell you about the image?": "O que você quer que o modelo lhe conte sobre a imagem?",
63
79
  "Instructions that guide the model behavior.": "Instruções que guiam o comportamento do modelo.",
64
80
  "Controls randomness. Lower values produce more deterministic output.": "Controla a aleatoriedade. Valores mais baixos produzem mais saída determinista.",
65
81
  "The maximum number of tokens to generate.": "O número máximo de tokens a gerar.",
66
- "Nucleus sampling: the model considers tokens with top_p probability mass.": "Amostragem Nucleus: o modelo considera tokens com massa de probabilidade top_p.",
67
- "Sequences that will cause the model to stop generating. Up to 4 sequences.": "Sequências que irão fazer com que o modelo pare de gerar. Até 4 sequências.",
68
- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.": "Uma chave de memória que manterá o histórico do bate-papo compartilhado entre execuções e fluxos. Deixe em branco para deixar o modelo sem memória das mensagens anteriores.",
69
- "The foundation model to use. Must support image input.": "O modelo da base a ser usado. Deve suportar a entrada de imagem.",
70
- "The image to analyze (PNG, JPEG, GIF, or WebP).": "A imagem para analisar (PNG, JPEG, GIF ou WebP).",
71
- "What do you want the model to tell you about the image?": "O que você quer que o modelo lhe conte sobre a imagem?",
72
82
  "The image generation model to use.": "O modelo de geração de imagem a ser usado.",
73
83
  "A text description of the image you want to generate.": "A descrição da imagem que deseja gerar.",
74
84
  "Describe what you do NOT want in the image. Helps refine the output.": "Descreva o que você não quer na imagem. Ajuda a refinar a saída.",
@@ -77,14 +87,20 @@
77
87
  "A seed for reproducible results. Use the same seed and prompt to get the same image.": "Uma Seed para resultados reproduzíveis. Use a mesma Seed e o prompt para obter a mesma imagem.",
78
88
  "The embedding model to use.": "O modelo de incorporação a ser usado.",
79
89
  "The text to generate embeddings for.": "O texto para gerar incorporações.",
80
- "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.": "Otimize as incorporações para o seu caso de uso. Usado apenas por incorporações multimodais.",
81
- "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.": "O número de dimensões para o vetor de saída de integração. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.",
82
- "Whether to normalize the output embedding vector. Supported by Titan Embed v2.": "Normalizar a saída para incorporar o vetor. Suportado por Titan Embed v2.",
90
+ "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.": "Como as incorporações serão usadas — ajuda o modelo a otimizar a saída. Só se aplica a modelos de incorporação multimodal. Deixe como \"Índice Genérico\" se não tiver certeza.",
91
+ "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.": "Tamanho do vetor de saída. Maior = mais preciso, mas mais devagar/custo. Titan Embed v2 suporta: 256, 512, 1024. Nova Multimodal apoia: 256, 384, 1024, 3072. Deixe em branco para usar o padrão modelo.",
92
+ "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.": "Escala o vetor de saída para que seus valores variem entre -1 e 1. Recomendado para comparações de similaridade. Somente suportado por Titan Embed v2.",
83
93
  "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).": "Selecione o endpoint de serviço AWS Bedrock para chamar. Use \"Bedrock\" para operações de avião de controle (por exemplo, ListFoundationModels) e \"Bedrock Runtime\" para operações de inferência (por exemplo, InvokeModel).",
94
+ "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.": "Método HTTP para a solicitação. Use GET para buscar dados, POST/PUT para criar ou atualizar, DELETE para remover.",
84
95
  "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.": "O caminho da API (por exemplo, /foundation-models, /model/{modelId}/invoke). Veja a AWS Bedrock API Referência para endpoints disponíveis.",
85
96
  "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.": "Cabeçalhos adicionais para incluir. Cabeçalhos de autorização são adicionados automaticamente via Assinatura AWS V4.",
86
97
  "Query parameters to include in the request URL.": "Parâmetros de consulta a serem incluídos na URL de requisição.",
87
98
  "JSON body for POST/PUT requests.": "Corpo JSON para solicitações POST/PUT.",
99
+ "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.": "Quando habilitado, erros (por exemplo, 4xx/5xx respostas) são retornados como saída ao invés de parar o fluxo. Útil quando você deseja lidar com erros em uma etapa posterior.",
100
+ "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.": "Quanto tempo esperar por uma resposta antes que a solicitação seja cancelada. O padrão é 30 segundos.",
101
+ "Upload a file": "Enviar um arquivo",
102
+ "From S3 bucket": "De balde S3",
103
+ "Upload an image": "Enviar uma imagem",
88
104
  "Generic Index": "Índice Genérico",
89
105
  "Generic Retrieval": "Recuperação Genérica",
90
106
  "Text Retrieval": "Recuperação de texto",
@@ -3,6 +3,8 @@
3
3
  "Access Key ID": "Access Key ID",
4
4
  "Secret Access Key": "Secret Access Key",
5
5
  "Region": "Region",
6
+ "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.": "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.",
7
+ "Your AWS secret access key. Only shown once when you create the access key — store it safely.": "Your AWS secret access key. Only shown once when you create the access key — store it safely.",
6
8
  "US East (N. Virginia) [us-east-1]": "US East (N. Virginia) [us-east-1]",
7
9
  "US East (Ohio) [us-east-2]": "US East (Ohio) [us-east-2]",
8
10
  "US West (Oregon) [us-west-2]": "US West (Oregon) [us-west-2]",
@@ -23,7 +25,7 @@
23
25
  "Europe (Stockholm) [eu-north-1]": "Europe (Stockholm) [eu-north-1]",
24
26
  "Europe (Zurich) [eu-central-2]": "Europe (Zurich) [eu-central-2]",
25
27
  "South America (São Paulo) [sa-east-1]": "South America (São Paulo) [sa-east-1]",
26
- "AWS Bedrock authentication using Access Key and Secret Key.": "AWS Bedrock authentication using Access Key and Secret Key.",
28
+ "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bed": "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bedrock/), go to **Model access** and request access to the models you want to use.",
27
29
  "Ask Bedrock": "Ask Bedrock",
28
30
  "Generate Content from Image": "Generate Content from Image",
29
31
  "Generate Image": "Generate Image",
@@ -41,7 +43,10 @@
41
43
  "Maximum Tokens": "Maximum Tokens",
42
44
  "Top P": "Top P",
43
45
  "Stop Sequences": "Stop Sequences",
44
- "Memory Key": "Memory Key",
46
+ "Conversation Memory ID": "Conversation Memory ID",
47
+ "Attachment Source (Optional)": "Attachment Source (Optional)",
48
+ "Attachment": "Attachment",
49
+ "Image Source": "Image Source",
45
50
  "Image": "Image",
46
51
  "Negative Prompt": "Negative Prompt",
47
52
  "Width": "Width",
@@ -49,26 +54,31 @@
49
54
  "Seed": "Seed",
50
55
  "Input Text": "Input Text",
51
56
  "Embedding Purpose": "Embedding Purpose",
52
- "Dimensions": "Dimensions",
53
- "Normalize": "Normalize",
57
+ "Vector Dimensions": "Vector Dimensions",
58
+ "Normalize Output": "Normalize Output",
54
59
  "Service": "Service",
55
60
  "Method": "Method",
56
61
  "Path": "Path",
57
62
  "Headers": "Headers",
58
63
  "Query Parameters": "Query Parameters",
59
64
  "Body": "Body",
60
- "No Error on Failure": "No Error on Failure",
65
+ "Return Error as Output": "Return Error as Output",
61
66
  "Timeout (in seconds)": "Timeout (in seconds)",
62
67
  "The foundation model to use for generation.": "The foundation model to use for generation.",
68
+ "The message or question to send to the model.": "The message or question to send to the model.",
69
+ "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").": "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").",
70
+ "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.": "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.",
71
+ "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.": "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.",
72
+ "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.": "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.",
73
+ "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.": "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.",
74
+ "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.": "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.",
75
+ "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.": "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.",
76
+ "The foundation model to use. Must support image input.": "The foundation model to use. Must support image input.",
77
+ "Choose how to provide the image — upload directly or reference one already in S3.": "Choose how to provide the image — upload directly or reference one already in S3.",
78
+ "What do you want the model to tell you about the image?": "What do you want the model to tell you about the image?",
63
79
  "Instructions that guide the model behavior.": "Instructions that guide the model behavior.",
64
80
  "Controls randomness. Lower values produce more deterministic output.": "Controls randomness. Lower values produce more deterministic output.",
65
81
  "The maximum number of tokens to generate.": "The maximum number of tokens to generate.",
66
- "Nucleus sampling: the model considers tokens with top_p probability mass.": "Nucleus sampling: the model considers tokens with top_p probability mass.",
67
- "Sequences that will cause the model to stop generating. Up to 4 sequences.": "Sequences that will cause the model to stop generating. Up to 4 sequences.",
68
- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.": "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.",
69
- "The foundation model to use. Must support image input.": "The foundation model to use. Must support image input.",
70
- "The image to analyze (PNG, JPEG, GIF, or WebP).": "The image to analyze (PNG, JPEG, GIF, or WebP).",
71
- "What do you want the model to tell you about the image?": "What do you want the model to tell you about the image?",
72
82
  "The image generation model to use.": "The image generation model to use.",
73
83
  "A text description of the image you want to generate.": "A text description of the image you want to generate.",
74
84
  "Describe what you do NOT want in the image. Helps refine the output.": "Describe what you do NOT want in the image. Helps refine the output.",
@@ -77,14 +87,20 @@
77
87
  "A seed for reproducible results. Use the same seed and prompt to get the same image.": "A seed for reproducible results. Use the same seed and prompt to get the same image.",
78
88
  "The embedding model to use.": "The embedding model to use.",
79
89
  "The text to generate embeddings for.": "The text to generate embeddings for.",
80
- "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.": "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.",
81
- "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.": "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.",
82
- "Whether to normalize the output embedding vector. Supported by Titan Embed v2.": "Whether to normalize the output embedding vector. Supported by Titan Embed v2.",
90
+ "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.": "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.",
91
+ "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.": "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.",
92
+ "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.": "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.",
83
93
  "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).": "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).",
94
+ "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.": "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.",
84
95
  "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.": "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.",
85
96
  "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.": "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.",
86
97
  "Query parameters to include in the request URL.": "Query parameters to include in the request URL.",
87
98
  "JSON body for POST/PUT requests.": "JSON body for POST/PUT requests.",
99
+ "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.": "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.",
100
+ "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.": "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.",
101
+ "Upload a file": "Upload a file",
102
+ "From S3 bucket": "From S3 bucket",
103
+ "Upload an image": "Upload an image",
88
104
  "Generic Index": "Generic Index",
89
105
  "Generic Retrieval": "Generic Retrieval",
90
106
  "Text Retrieval": "Text Retrieval",
package/src/i18n/zh.json CHANGED
@@ -3,6 +3,8 @@
3
3
  "Access Key ID": "Access Key ID",
4
4
  "Secret Access Key": "Secret Access Key",
5
5
  "Region": "Region",
6
+ "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.": "Your AWS access key ID. Found in AWS IAM Console → Users → Security credentials.",
7
+ "Your AWS secret access key. Only shown once when you create the access key — store it safely.": "Your AWS secret access key. Only shown once when you create the access key — store it safely.",
6
8
  "US East (N. Virginia) [us-east-1]": "US East (N. Virginia) [us-east-1]",
7
9
  "US East (Ohio) [us-east-2]": "US East (Ohio) [us-east-2]",
8
10
  "US West (Oregon) [us-west-2]": "US West (Oregon) [us-west-2]",
@@ -23,7 +25,7 @@
23
25
  "Europe (Stockholm) [eu-north-1]": "Europe (Stockholm) [eu-north-1]",
24
26
  "Europe (Zurich) [eu-central-2]": "Europe (Zurich) [eu-central-2]",
25
27
  "South America (São Paulo) [sa-east-1]": "South America (São Paulo) [sa-east-1]",
26
- "AWS Bedrock authentication using Access Key and Secret Key.": "AWS Bedrock authentication using Access Key and Secret Key.",
28
+ "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bed": "Connect your AWS account to use Amazon Bedrock AI models.\n\n**How to get your credentials:**\n1. Open the [AWS IAM Console](https://console.aws.amazon.com/iam/) and go to **Users**.\n2. Select your user (or create a new one), then go to **Security credentials**.\n3. Click **Create access key** — copy both the Access Key ID and Secret Access Key.\n4. Make sure the IAM user has the **AmazonBedrockFullAccess** policy attached.\n\n**Enable model access:** In the [AWS Bedrock Console](https://console.aws.amazon.com/bedrock/), go to **Model access** and request access to the models you want to use.",
27
29
  "Ask Bedrock": "Ask Bedrock",
28
30
  "Generate Content from Image": "Generate Content from Image",
29
31
  "Generate Image": "Generate Image",
@@ -41,7 +43,10 @@
41
43
  "Maximum Tokens": "Maximum Tokens",
42
44
  "Top P": "Top P",
43
45
  "Stop Sequences": "Stop Sequences",
44
- "Memory Key": "内存键",
46
+ "Conversation Memory ID": "Conversation Memory ID",
47
+ "Attachment Source (Optional)": "Attachment Source (Optional)",
48
+ "Attachment": "Attachment",
49
+ "Image Source": "Image Source",
45
50
  "Image": "Image",
46
51
  "Negative Prompt": "Negative Prompt",
47
52
  "Width": "Width",
@@ -49,26 +54,31 @@
49
54
  "Seed": "Seed",
50
55
  "Input Text": "Input Text",
51
56
  "Embedding Purpose": "Embedding Purpose",
52
- "Dimensions": "Dimensions",
53
- "Normalize": "Normalize",
57
+ "Vector Dimensions": "Vector Dimensions",
58
+ "Normalize Output": "Normalize Output",
54
59
  "Service": "Service",
55
60
  "Method": "方法",
56
61
  "Path": "Path",
57
62
  "Headers": "信头",
58
63
  "Query Parameters": "查询参数",
59
64
  "Body": "正文内容",
60
- "No Error on Failure": "失败时没有错误",
65
+ "Return Error as Output": "Return Error as Output",
61
66
  "Timeout (in seconds)": "超时(秒)",
62
67
  "The foundation model to use for generation.": "The foundation model to use for generation.",
68
+ "The message or question to send to the model.": "The message or question to send to the model.",
69
+ "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").": "Instructions that set the model's behavior and persona (e.g. \"You are a helpful assistant that replies concisely.\").",
70
+ "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.": "Controls how creative or predictable the response is. Lower values (e.g. 0.2) give focused, consistent answers. Higher values (e.g. 0.9) give more varied, creative output.",
71
+ "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.": "The maximum length of the response. One token is roughly 4 characters. 2048 tokens ≈ ~1500 words.",
72
+ "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.": "Limits the pool of words the model picks from (0–1). Lower values make responses more focused. Leave at 1 to disable this filter and use Temperature instead.",
73
+ "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.": "Text strings that, when generated, cause the model to stop immediately (e.g. \"END\" or \"\\n\\n\"). Up to 4 sequences.",
74
+ "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.": "A unique name for this conversation's memory (e.g. \"support-chat-user-123\"). When set, the model remembers previous messages in this flow. Leave empty for a single-turn interaction with no memory.",
75
+ "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.": "Optionally include a file alongside your prompt. Choose whether to upload directly or reference one from S3.",
76
+ "The foundation model to use. Must support image input.": "The foundation model to use. Must support image input.",
77
+ "Choose how to provide the image — upload directly or reference one already in S3.": "Choose how to provide the image — upload directly or reference one already in S3.",
78
+ "What do you want the model to tell you about the image?": "What do you want the model to tell you about the image?",
63
79
  "Instructions that guide the model behavior.": "Instructions that guide the model behavior.",
64
80
  "Controls randomness. Lower values produce more deterministic output.": "Controls randomness. Lower values produce more deterministic output.",
65
81
  "The maximum number of tokens to generate.": "The maximum number of tokens to generate.",
66
- "Nucleus sampling: the model considers tokens with top_p probability mass.": "Nucleus sampling: the model considers tokens with top_p probability mass.",
67
- "Sequences that will cause the model to stop generating. Up to 4 sequences.": "Sequences that will cause the model to stop generating. Up to 4 sequences.",
68
- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.": "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.",
69
- "The foundation model to use. Must support image input.": "The foundation model to use. Must support image input.",
70
- "The image to analyze (PNG, JPEG, GIF, or WebP).": "The image to analyze (PNG, JPEG, GIF, or WebP).",
71
- "What do you want the model to tell you about the image?": "What do you want the model to tell you about the image?",
72
82
  "The image generation model to use.": "The image generation model to use.",
73
83
  "A text description of the image you want to generate.": "A text description of the image you want to generate.",
74
84
  "Describe what you do NOT want in the image. Helps refine the output.": "Describe what you do NOT want in the image. Helps refine the output.",
@@ -77,14 +87,20 @@
77
87
  "A seed for reproducible results. Use the same seed and prompt to get the same image.": "A seed for reproducible results. Use the same seed and prompt to get the same image.",
78
88
  "The embedding model to use.": "The embedding model to use.",
79
89
  "The text to generate embeddings for.": "The text to generate embeddings for.",
80
- "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.": "Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.",
81
- "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.": "The number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.",
82
- "Whether to normalize the output embedding vector. Supported by Titan Embed v2.": "Whether to normalize the output embedding vector. Supported by Titan Embed v2.",
90
+ "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.": "How the embeddings will be used — helps the model optimize the output. Only applies to Nova Multimodal Embeddings models. Leave as \"Generic Index\" if unsure.",
91
+ "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.": "Size of the output vector. Larger = more accurate but slower/costlier. Titan Embed v2 supports: 256, 512, 1024. Nova Multimodal supports: 256, 384, 1024, 3072. Leave blank to use the model default.",
92
+ "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.": "Scale the output vector so its values range between -1 and 1. Recommended for similarity comparisons. Only supported by Titan Embed v2.",
83
93
  "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).": "Select the AWS Bedrock service endpoint to call. Use \"Bedrock\" for control plane operations (e.g., ListFoundationModels) and \"Bedrock Runtime\" for inference operations (e.g., InvokeModel).",
94
+ "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.": "HTTP method for the request. Use GET to fetch data, POST/PUT to create or update, DELETE to remove.",
84
95
  "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.": "The API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.",
85
96
  "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.": "Additional headers to include. Authorization headers are automatically added via AWS Signature V4.",
86
97
  "Query parameters to include in the request URL.": "Query parameters to include in the request URL.",
87
98
  "JSON body for POST/PUT requests.": "JSON body for POST/PUT requests.",
99
+ "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.": "When enabled, errors (e.g. 4xx/5xx responses) are returned as output instead of stopping the flow. Useful when you want to handle errors in a later step.",
100
+ "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.": "How long to wait for a response before the request is cancelled. Defaults to 30 seconds.",
101
+ "Upload a file": "Upload a file",
102
+ "From S3 bucket": "From S3 bucket",
103
+ "Upload an image": "Upload an image",
88
104
  "Generic Index": "Generic Index",
89
105
  "Generic Retrieval": "Generic Retrieval",
90
106
  "Text Retrieval": "Text Retrieval",
@@ -1 +1 @@
1
- {"version":3,"file":"custom-api-call.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/custom-api-call.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA2B,MAAM,6BAA6B,CAAC;AAoElF,eAAO,MAAM,aAAa;;;;;;;;;;;;;EAuIxB,CAAC"}
1
+ {"version":3,"file":"custom-api-call.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/custom-api-call.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA2B,MAAM,6BAA6B,CAAC;AAoElF,eAAO,MAAM,aAAa;;;;;;;;;;;;;EAwIxB,CAAC"}
@@ -46,6 +46,7 @@ function signAwsRequest(_a) {
46
46
  });
47
47
  }
48
48
  exports.customApiCall = (0, pieces_framework_1.createAction)({
49
+ audience: 'human',
49
50
  name: 'custom_api_call',
50
51
  displayName: 'Custom API Call',
51
52
  description: 'Make a custom API call to any AWS Bedrock endpoint. Requests are automatically signed with AWS Signature V4.',
@@ -1 +1 @@
1
- {"version":3,"file":"custom-api-call.js","sourceRoot":"","sources":["../../../../src/lib/actions/custom-api-call.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAkF;AAClF,kCAAyC;AACzC,uDAAmD;AACnD,yDAAsE;AACtE,qDAA+C;AAE/C,MAAM,oBAAoB,GAAG;IAC3B,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK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AO,CAAC,CAAC;gBACvD,OAAO;oBACL,MAAM,EAAE,QAAQ,CAAC,MAAM;oBACvB,OAAO,EAAE,QAAQ,CAAC,OAAO;oBACzB,IAAI,EAAE,QAAQ,CAAC,IAAI;iBACpB,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,QAAQ,EAAE,CAAC;oBACb,OAAO;wBACL,KAAK,EAAE,MAAC,KAAa,aAAb,KAAK,uBAAL,KAAK,CAAU,OAAO,mCAAI,gBAAgB;wBAClD,QAAQ,EAAE,MAAA,MAAC,KAAa,aAAb,KAAK,uBAAL,KAAK,CAAU,QAAQ,0CAAE,IAAI,mCAAI,IAAI;qBACjD,CAAC;gBACJ,CAAC;gBACD,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"custom-api-call.js","sourceRoot":"","sources":["../../../../src/lib/actions/custom-api-call.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAkF;AAClF,kCAAyC;AACzC,uDAAmD;AACnD,yDAAsE;AACtE,qDAA+C;AAE/C,MAAM,oBAAoB,GAAG;IAC3B,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,SAAS,EAAE;IACtD,EAAE,KAAK,EAAE,6BAA6B,EAAE,KAAK,EAAE,iBAAiB,EAAE;IAClE,EAAE,KAAK,EAAE,+BAA+B,EAAE,KAAK,EAAE,eAAe,EAAE;IAClE;QACE,KAAK,EAAE,oCAAoC;QAC3C,KAAK,EAAE,uBAAuB;KAC/B;CACF,CAAC;AAEF,SAAe,cAAc;iEAAC,EAC5B,WAAW,EACX,eAAe,EACf,MAAM,EACN,OAAO,EACP,MAAM,EACN,GAAG,EACH,OAAO,EACP,IAAI,GAUL;QACC,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;QAE/B,MAAM,UAAU,GAAG,IAAI,2BAAc,CAAC;YACpC,MAAM;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,CAAC;gBACJ,CAAC;gBACD,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate-content-from-image.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-content-from-image.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;EA2HnC,CAAC"}
1
+ {"version":3,"file":"generate-content-from-image.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-content-from-image.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;EA4HnC,CAAC"}
@@ -8,6 +8,7 @@ const client_bedrock_1 = require("@aws-sdk/client-bedrock");
8
8
  const auth_1 = require("../auth");
9
9
  const common_1 = require("../common");
10
10
  exports.generateContentFromImage = (0, pieces_framework_1.createAction)({
11
+ audience: 'human',
11
12
  auth: auth_1.awsBedrockAuth,
12
13
  name: 'generate_content_from_image',
13
14
  displayName: 'Generate Content from Image',
@@ -1 +1 @@
1
- {"version":3,"file":"generate-content-from-image.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-content-from-image.ts"],"names":[],"mappings":";;;;AAAA,qEAA2F;AAC3F,4EAGyC;AACzC,4DAAwD;AACxD,kCAAyC;AACzC,sCAOmB;AAEN,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,gDAAgD;IAC7D,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,qBAAc;YACpB,WAAW,EAAE,wDAAwD;YACrE,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;g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YAE3C,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAChC,IAAI,wCAAe,+BACjB,OAAO,EAAE,KAAK,EACd,QAAQ,EAAE;wBACR;4BACE,IAAI,EAAE,yCAAgB,CAAC,IAAI;4BAC3B,OAAO,EAAE,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yBACxC;qBACF,IACE,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7D,eAAe,EAAE;wBACf,WAAW,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,SAAS;wBACrC,SAAS,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,SAAS;qBAClC,IACD,CACH,CAAC;gBAEF,OAAO,IAAA,oCAA2B,EAAC,QAAQ,CAAC,CAAC;YAC/C,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"generate-content-from-image.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-content-from-image.ts"],"names":[],"mappings":";;;;AAAA,qEAA2F;AAC3F,4EAGyC;AACzC,4DAAwD;AACxD,kCAAyC;AACzC,sCAOmB;AAEN,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,gDAAgD;IAC7D,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAA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AK,CAAC,UAAU,CAAW,EAAE,KAAK,CAAC,OAAO,CAAW,CAAC;gBAC5E,CAAC,CAAC,IAAA,8BAAqB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;YAE3C,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAChC,IAAI,wCAAe,+BACjB,OAAO,EAAE,KAAK,EACd,QAAQ,EAAE;wBACR;4BACE,IAAI,EAAE,yCAAgB,CAAC,IAAI;4BAC3B,OAAO,EAAE,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yBACxC;qBACF,IACE,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7D,eAAe,EAAE;wBACf,WAAW,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,SAAS;wBACrC,SAAS,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,SAAS;qBAClC,IACD,CACH,CAAC;gBAEF,OAAO,IAAA,oCAA2B,EAAC,QAAQ,CAAC,CAAC;YAC/C,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate-embeddings.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-embeddings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;EAgK7B,CAAC"}
1
+ {"version":3,"file":"generate-embeddings.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-embeddings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;EAiK7B,CAAC"}
@@ -8,6 +8,7 @@ const client_bedrock_1 = require("@aws-sdk/client-bedrock");
8
8
  const auth_1 = require("../auth");
9
9
  const common_1 = require("../common");
10
10
  exports.generateEmbeddings = (0, pieces_framework_1.createAction)({
11
+ audience: 'human',
11
12
  auth: auth_1.awsBedrockAuth,
12
13
  name: 'generate_embeddings',
13
14
  displayName: 'Generate Embeddings',
@@ -1 +1 @@
1
- {"version":3,"file":"generate-embeddings.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-embeddings.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,4EAAqE;AACrE,4DAAwD;AACxD,kCAAyC;AACzC,sCAImB;AAEN,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EACT,2HAA2H;IAC7H,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,qBAAc;YACpB,WAAW,EAAE,6BAA6B;YAC1C,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;gBACtB,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,WAAW,EAAE,gCAAgC;wBAC7C,OAAO,EAAE,EAAE;qBACZ,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAA,+BAAsB,EAAC,IAAI,CAAC,KAAK,EAAE;oBACxC,cAAc,EAAE,8BAAa,CAAC,SAAS;iBACxC,CAAC,CAAC;YACL,CAAC,CAAA;SACF,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC3B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,gBAA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AAQ,CAAC,cAAc,CAAC,EAAE,CAAC;oBACrE,MAAM,KAAK,CAAC;gBACd,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"generate-embeddings.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-embeddings.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,4EAAqE;AACrE,4DAAwD;AACxD,kCAAyC;AACzC,sCAImB;AAEN,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EACT,2HAA2H;IAC7H,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,qBAAc;YACpB,WAAW,EAAE,6BAA6B;YAC1C,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;gBACtB,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,WAAW,EAAE,gCAAgC;wBAC7C,OAAO,EAAE,EAAE;qBACZ,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAA,+BAAsB,EAAC,IAAI,CAAC,KAAK,EAAE;oBACxC,cAAc,EAAE,8BAAa,CAAC,SAAS;iBACxC,CAAC,CAAC;YACL,CAAC,CAAA;SACF,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC3B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,gBAAgB,EAAE,2BA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AAc,CAAC,EAAE,CAAC;oBACrE,MAAM,KAAK,CAAC;gBACd,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate-image.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-image.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EA2KxB,CAAC"}
1
+ {"version":3,"file":"generate-image.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/generate-image.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EA4KxB,CAAC"}
@@ -8,6 +8,7 @@ const client_bedrock_1 = require("@aws-sdk/client-bedrock");
8
8
  const auth_1 = require("../auth");
9
9
  const common_1 = require("../common");
10
10
  exports.generateImage = (0, pieces_framework_1.createAction)({
11
+ audience: 'human',
11
12
  auth: auth_1.awsBedrockAuth,
12
13
  name: 'generate_image',
13
14
  displayName: 'Generate Image',
@@ -1 +1 @@
1
- {"version":3,"file":"generate-image.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-image.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,4EAAqE;AACrE,4DAAwD;AACxD,kCAAyC;AACzC,sCAImB;AAEN,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EACT,iGAAiG;IACnG,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,qBAAc;YACpB,WAAW,EAAE,oCAAoC;YACjD,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,KAAiB,EAAE,oDA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C;oBACjE,MAAM,KAAK,CAAC;gBACd,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"generate-image.js","sourceRoot":"","sources":["../../../../src/lib/actions/generate-image.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,4EAAqE;AACrE,4DAAwD;AACxD,kCAAyC;AACzC,sCAImB;AAEN,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,qBAAc;IACpB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EACT,iGAAiG;IACnG,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACvB,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,qBAAc;YACpB,WAAW,EAAE,oCAAoC;YACjD,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;gBACtB,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,WAAW,EAAE,gCAAgC;wBAC7C,OAAO,EAAE,EAAE;qBACZ,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAA,+BAAsB,EAAC,IAAI,CAAC,KAAK,EAAE;oBACxC,cAAc,EAAE,8BAAa,CAAC,KAAK;iBACpC,CAAC,CAAC;YACL,CAAC,CAAA;SACF,CAAC;QACF,MAAM,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACxB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,uDAAuD;SACrE,CAAC;QACF,cAAc,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAChC,WAAW,EAAE,iBAAiB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BACvC,CAAC;qBAAM,IACL,YAAY,CAAC,SAAS;oBACtB,YAAY,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EACjC,CAAC;oBACD,WAAW,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;gBACjD,CAAC;gBAED,IAAI,CAAC,WAAW,EAAE,CAAC;oBACjB,MAAM,IAAI,KAAK,CACb,+EAA+E,CAChF,CAAC;gBACJ,CAAC;gBAED,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;gBAEvD,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC;oBAC7B,QAAQ,EAAE,qBAAqB;oBAC/B,IAAI,EAAE,WAAW;iBAClB,CAAC,CAAC;gBAEH,OAAO;oBACL,KAAK,EAAE,IAAI;oBACX,KAAK,EAAE,KAAK;iBACb,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;oBACjE,MAAM,KAAK,CAAC;gBACd,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"send-prompt.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/send-prompt.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;EA8KrB,CAAC"}
1
+ {"version":3,"file":"send-prompt.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/send-prompt.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;EA+KrB,CAAC"}