Skip to content

Add langchain and transformers to requirements.txt#20

Merged
Vector897 merged 1 commit into
mainfrom
Vector897-patch-1
Feb 9, 2026
Merged

Add langchain and transformers to requirements.txt#20
Vector897 merged 1 commit into
mainfrom
Vector897-patch-1

Conversation

@Vector897

Copy link
Copy Markdown
Owner

Added langchain and transformers dependencies to requirements.

Added langchain and transformers dependencies to requirements.
Copilot AI review requested due to automatic review settings February 9, 2026 22:50
@Vector897
Vector897 merged commit b5845be into main Feb 9, 2026
@Vector897
Vector897 deleted the Vector897-patch-1 branch February 9, 2026 22:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the backend Python dependency set to include LangChain/Chroma and transformer-based embedding/reranking libraries, aligning with the backend’s existing RAG/knowledge-base services.

Changes:

  • Add transformers, sentence-transformers, langchain, langchain-chroma, and chromadb to backend/requirements.txt.
  • Introduce a new dependency block for these AI/RAG-related packages.
Comments suppressed due to low confidence (1)

backend/requirements.txt:51

  • There are multiple trailing blank lines added at the end of this file. Please remove the extras to keep diffs clean and avoid churn in future edits.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/requirements.txt
Comment on lines +43 to +44
#langchain and transformers dependencies
transformers==4.31.0

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

The new dependency block is appended after the platform-specific section and the header comment is missing a space after #. To keep this file organized, please move these AI/LLM dependencies up under the existing # AI/LLM section and format the header as # LangChain and transformers dependencies (or similar).

Copilot uses AI. Check for mistakes.
Comment thread backend/requirements.txt
uvloop==0.22.1; platform_system != "Windows"

#langchain and transformers dependencies
transformers==4.31.0

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

transformers is not imported anywhere in the backend code (only sentence_transformers is). If it’s only a transitive dependency of sentence-transformers, pinning it here increases the chance of resolver conflicts without adding much value. Consider removing the direct transformers==... pin unless you have a concrete runtime requirement for that exact version (in which case, add a short note explaining why).

Suggested change
transformers==4.31.0

Copilot uses AI. Check for mistakes.
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.

2 participants