aws-samples / generative-ai-amazon-bedrock-langchain-agent-example

MIT No Attribution
221 stars 394 forks source link

KendraIndex is not used for RAG #6

Closed vikmehta-deluxe closed 10 months ago

vikmehta-deluxe commented 11 months ago

I am facing following 2 issues when the chatbot is setup from the latest fork repo.

Issue 1: The chat question doesn't use the kendra index as trusted data source at all despite temperature configured to '0.1' Issue 2: The chat history is not saving into the table configured under the environment variable "CONVERSATION_TABLE"

It seems the agent execution doesn't invoke tools for running the chain and similarly, doesn't invoke chat for storing the chat.

Appreciate guidance for the fixes.