Index is not created inside the Amazon OpenSearch cluster

0

I am following the turorial "Build a Full Stack Large Language Model Powered Chatbot: Extract Insights from Unstructured Documents" at https://community.aws/tutorials/fullstack-llm-langchain-chatbot-on-aws. I have completed all steps up to step 5 but there I face the following problem: There is a Lambda function which is invoked by an S3 bucket event. The Lambda function initiates a Fargate task, which in turn runs a Docker container containing a python script, responsible for generating embeddings in Amazon OpenSearch under a new OpenSearch index. The problem is that the index is not created in the Amazon OpenSearch cluster as it should. Do you think it is a policy issue in the fargate task? I don't see any errors in CloudWatch from the Lambda Function. Could you please help me? Thank you for your time.

  • If the Fargate task is correctly started, you should be able to find the reason for the issue in the Fargate task logs.

質問済み 6ヶ月前1754ビュー
1回答
0
承認された回答

The logs that will tell you the root cause of your problem are likely to be found in the Fargate Task Cloudwatch Logs.

If you want to check out an end-to-end solution, you can look at https://github.com/aws-samples/aws-genai-llm-chatbot which uses AWS Batch + Fargate and not Fargate directly.

AWS
エキスパート
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ