Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

updated the infrastructure of the codebase #214

Merged
merged 2 commits into from
Nov 26, 2024
Merged

updated the infrastructure of the codebase #214

merged 2 commits into from
Nov 26, 2024

Conversation

smrchanda877
Copy link
Collaborator

This pull request includes changes to the import paths in the app.py file to reflect the new directory structure. The changes ensure that the correct modules are imported from their updated locations.

  • Moved chatbot_statistics.py into metrics folder

  • Moved these three files into backend folder:

  1. retriever.py
  2. RAG.py
  3. ddos_protection.py

Changes to import paths:

  • Updated the import path for initialize_milvus and query_rag to backend.RAG from RAG.
  • Updated the import path for DatabaseClient to metrics.chatbot_statistics from chatbot_statistics.
  • Updated the import path for handle_rate_limiting to backend.ddos_protection from ddos_protection.

@smrchanda877
Copy link
Collaborator Author

Wait.. Don't merge yet

@smrchanda877
Copy link
Collaborator Author

Changed the answerable questions and unanwerable questions in code to match the readme and wiki

Copy link
Collaborator

@ACraig7 ACraig7 left a comment

Choose a reason for hiding this comment

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

LGTM

@ACraig7 ACraig7 merged commit 7df8ab3 into main Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants