Questions tagged with Amazon Bedrock
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
Hi,
I have been using the langchain library for LLM coding. Could someone share a simple code snippet that can be used to generate the vector embedding for a sentence stored in a string? I have no...
1
answers
0
votes
1103
views
asked 2 months agolg...
Getting "errorMessage": "Unknown service: 'bedrock-agent-runtime' in lambda function when using with Boto3 in python code.
but able execute aws bedrock-agent-runtime retrieve-and-generate in...
1
answers
0
votes
711
views
asked 2 months agolg...
Hi, I am creating a simple project where I have data in an S3 bucket which I want Bedrock agent to query, when a question is asked. The data is in html format and I am using Amazon OpenSearch...
1
answers
0
votes
707
views
asked 2 months agolg...
I was granted to use Claude 3 Sonnet on Bedrock today (shows up as "Access granted" in my Model Access Bedrock page). In my JS code which was working fine, I merely replaced my "modelID" value of...
Accepted AnswerAmazon Bedrock
4
answers
0
votes
1873
views
asked 2 months agolg...
Hi all, I have a few questions regarding Amazon bedrock:
1. Can amazon bedrock agent be used to retrieve data from an RDS MySQL instance to retrieve information about a particular user?
2. When would...
1
answers
0
votes
656
views
asked 2 months agolg...
Running into the following error with bedrock and claude-v2.
for some of the prompts that we are trying, there are intermittent read timeouts with Claude v2. trying to set read_timeout to a higher...
1
answers
0
votes
1125
views
asked 2 months agolg...
I started building a POC for a potentially large project (100s of thousands of documents upon go live).
I originally confused this with Q possibly using OpenSearch, but it was possibly while doing my...
1
answers
0
votes
451
views
asked 2 months agolg...
OpenAI has a concept of Assistants where you can create a chatbot for a specific subject/task etc. Ideally we'd like to use something similar on Bedrock, where we could create an Assistant for a...
1
answers
0
votes
1132
views
asked 2 months agolg...
I would like to calculate the number of tokens before sending a prompt to the Titan Text LMM service. What tokenizer do the Titan Text models use, and how can I run it locally?
2
answers
0
votes
526
views
asked 2 months agolg...
from langchain.prompts import PromptTemplate
from langchain.llms import Bedrock
from langchain.chains import LLMChain
def lambda_handler(event, context):
# Removed commented-out line (case_study)...
1
answers
0
votes
416
views
asked 2 months agolg...
Hi,
Qdrant is a highly popular vector DB. However there is no native support for it through bedrock knowledge base.
It would be quite useful to integrate with bedrock agents.
0
answers
0
votes
223
views
asked 2 months agolg...
from langchain.retrievers import AmazonKendraRetriever
from langchain.retrievers import AmazonKendraRetriever
from langchain.chains import ConversationalRetrievalChain
from langchain.prompts import...
1
answers
0
votes
794
views
asked 2 months agolg...