Questions tagged with Langchain
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.
Hello, I am trying to use Bedrock **Titan Express** model to convert text2sql using langchain. I am able to generate **an almost valid** sql statement but except string literal are being...
2
answers
0
votes
423
views
asked 2 months agolg...
I am building a RAG chatbot on internal corporate documents. My specific architecture is Amazon Kendra for document retrieval, Amazon Bedrock using foundation models (llama or cohere), and LangChain...
1
answers
0
votes
1091
views
asked 2 months agolg...
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
1121
views
asked 2 months agolg...
Hello,
I am trying to deploy this [github solution](https://github.com/aws-samples/amazon-sagemaker-genai-datamesh/tree/main) but **do not have** access to a ml.g5.12xlarge and I am hoping to be able...
1
answers
0
votes
1032
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
1130
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
427
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
886
views
asked 2 months agolg...
Langchain document loaders give read only file system error on AWS lambda while loading the documentlg...
I am trying to load a file from S3 bucket using AWS lambda using langchain document loaders
I first tried using S3FileLoader when it gave the read-only file error.
So I tried downloading the docx...
0
answers
0
votes
43
views
asked 3 months agolg...
Hello,
I created a lambda function that has a layer with the most recent Langchain version. However, when I ran the function, I got the following error message. I tried to install Langchain 0.2.0,...
3
answers
0
votes
280
views
asked 3 months agolg...
Hi Guys!
I already have the core of my app working in Java - SpringBoot with a microservices architecture and is working very good. The gateway is done in SpringBoot too in my case and we have...
1
answers
0
votes
708
views
asked 4 months agolg...
I'm getting error while accessing bedrock chat model:
raise ValueError(f"Error raised by bedrock service: {e}")
ValueError: Error raised by bedrock service: An error occurred (ValidationException)...
1
answers
0
votes
1043
views
asked 4 months agolg...
Hi!
I'm building a RAG approach AI feature. I did a test with AWS Bedrock creating a knowledgebase that gets the data from a S3 bucket. Then the data is sent to opensearch and store as vectors.
I...
1
answers
0
votes
828
views
asked 4 months agolg...