Questions tagged [amazon-bedrock]
Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies.
amazon-bedrock
81
questions
0
votes
0
answers
19
views
Struggling to send a PNG file to AWS Bedrock Agent
I have set up an AWS bedrock agent and am successfully sending text requests and receiving responses.
I need to send across a PNG file for the Agent to view and return the contents as JSON.
This is my ...
0
votes
0
answers
19
views
AWS Bedrock Input.text 1000 character limitation using a knowledge base?
Me and a team of mine have been trying to incorporate AWS' Bedrock into our project a while. We recently have given it a knowledge base, but have seen the input for a query to said knowledge base is ...
0
votes
1
answer
58
views
Unable to Stop Running Sync Job in AWS Bedrock Knowledge Base
I have an issue with AWS Bedrock Knowledge Base, Web crawler as a data source, I have accidently put 2 URLs, of Wikipedia (e.g, "https://en.wikipedia.org/wiki/article1 and second URL: "https:...
0
votes
0
answers
22
views
How to Speed Up Response Streaming from Agent in InvokeAgent API (EventStream)?
I'm working with an API that uses the InvokeAgent endpoint with EventStream to interact with an agent. The current setup works, but I'm experiencing some latency issues and would like to speed up the ...
0
votes
0
answers
57
views
How to properly call AWS bedrock using JavaScript SDK?
I am a newbie to using JavaScript SDK to connect to AWS Bedrock service, below is my code:
const { BedrockAgentRuntimeClient, RetrieveCommand } = require("@aws-sdk/client-bedrock-agent-runtime&...
0
votes
1
answer
18
views
Unable to use trained custom model in AWS Bedrock
I have trained a custom model in AWS Bedrock, named amazon.titan-image-generator-v1. The generated ARN for this model is:
arn:aws:bedrock:us-east-1:901111142777:custom-model/amazon.titan-image-...
0
votes
1
answer
63
views
How to securely pass personal information to a Bedrock agent?
I'm working with an AWS Bedrock agent and need to pass personal user information to it so it can provide personalized responses. However, I don't want to include this personal information directly in ...
0
votes
0
answers
14
views
How can we provide feedback to the foundation models that we are using on Bedrock?
We want to implement something similar to ChatGPT console where a user can provide feedback to model generated result. I am using Anthropic's Claude 3, Haiku.
Explored docs, but I didn't get any ...
0
votes
0
answers
34
views
Claude 3 Haiku connection/implementation issue
I am attempting to connect AWS Bedrock to a NextJS app. I am just trying to get a working response, but I keep running into hurdles. I can't seem to get past my current error:
Error generating chat ...
0
votes
0
answers
33
views
Glue job with Bedrock not running in parallel
I am writing a Glue job to process a pyspark dataframe using Bedrock which was recently added to boto3. The job will get sentiment from a text field in the dataframe using one of the LLMs in Bedrock, ...
0
votes
0
answers
23
views
Issue in requesting model access for amazon bedrock agent creation
I am new to AWS. I am facing this issue for requesting model access for mainly
Anthropic Claude
Cohere
I am an asia pacific Mumbai user.. I have payment info up to date with one being rupay debit ...
0
votes
2
answers
66
views
BedrockEmbeddings - botocore.errorfactory.ModelTimeoutException
I am trying to get vector embeddings on scale for documents.
Importing, from langchain_community.embeddings import BedrockEmbeddings package.
Using embeddings = BedrockEmbeddings( ...
0
votes
0
answers
109
views
Langchain SQLDatabaseToolkit - Unable to Access Data From SQL Views
I am trying to access all data from pre-defined VIEWS in my MS SQL database using Langchain - SQLDatabaseToolkit and Langchain - create_sql_agent. (Langchain version 0.2.5)
This is what my initial ...
0
votes
1
answer
54
views
Data Ingestion for the RAG from Dynamo DB to AuroraDB with pgVector to store embeddings
I have data stored in my DynamoDB which is frequently updated through back-end services. Now I want to create a PG vector based AuroraDB vector database for storing embeddings, which I want to be ...
0
votes
0
answers
124
views
Response of model anthropic.claude-3-sonnet being truncated- using refine chain with chatbedrock langchain
I am working on extracting and summarizing records from many documents (txt and word file) using ChatBedrock of langchain and aws model "anthropic.claude-3-sonnet". I am passing model in ...