Skip to content

Conversation

@gopal-raj-suresh
Copy link

@gopal-raj-suresh gopal-raj-suresh commented Feb 3, 2026

Description

This PR introduces the RAGChatbot sample solution, a Retrieval-Augmented Generation (RAG) chatbot implementation designed for document-based question answering. The blueprint demonstrates RAG workflow with ingestion, vector indexing, retrieval, and context-grounded response generation.

Recent Enhancements:

  • CWE-295 fix - Enabled SSL certificate verification in httpx client by removing verify=False flag
  • Container security hardening - Added non-root USER directives to both API and UI Dockerfiles to prevent container escape vulnerabilities
  • Docker - Configured proper file ownership and non-privileged user execution for all services

@alexsin368
Copy link
Collaborator

Having a deployment issue with the backend:

File "/app/server.py", line 17, in
from services import (
File "/app/services/init.py", line 7, in
from .retrieval_service import build_retrieval_chain, query_documents
File "/app/services/retrieval_service.py", line 9, in
from langchain.chains.retrieval import create_retrieval_chain
ModuleNotFoundError: No module named 'langchain.chains'

Copy link
Collaborator

@alexsin368 alexsin368 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need changes for APISIX/Keycloak to work. Still need to test with GenAI Gateway

@gopal-raj-suresh
Copy link
Author

Having a deployment issue with the backend:

File "/app/server.py", line 17, in from services import ( File "/app/services/init.py", line 7, in from .retrieval_service import build_retrieval_chain, query_documents File "/app/services/retrieval_service.py", line 9, in from langchain.chains.retrieval import create_retrieval_chain ModuleNotFoundError: No module named 'langchain.chains'

The issue is fixed.

@alexsin368
Copy link
Collaborator

Just a few more minor edits. With current changes, no issues with APISIX/Keycloak. Will test with GenAI gateway.

@alexsin368
Copy link
Collaborator

Tested on GenAI gateway. LGTM!

gopal-raj-suresh and others added 9 commits February 11, 2026 00:45
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
…sues

Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants