Skip to content

Feat/rag knowledge base#69

Merged
Jrodrigo06 merged 19 commits intomainfrom
feat/rag-knowledge-base
Apr 4, 2026
Merged

Feat/rag knowledge base#69
Jrodrigo06 merged 19 commits intomainfrom
feat/rag-knowledge-base

Conversation

@SHarg9876
Copy link
Copy Markdown
Collaborator

Description

Added documents as sources. Chunk and embed sources and embed user input for similarity search to retrieve related tags/buckets.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (code improvement without changing functionality)
  • Documentation update
  • Configuration/infrastructure change
  • Performance improvement
  • Test coverage improvement

What Changed?

  • added data/raw with documents
  • added chunking and embedding of documents
  • added embedding of user input
  • added similarity search to get most relevant chunks
  • knowledge_chunk.py, chunk_repository.py, seed_knowledge.py (for testing), pdfconvert.py, ingest.py

Testing & Validation

passes current tests

How this was tested

Screenshots/Recordings

Unfinished Work & Known Issues

  • [ x] None, this PR is complete and production-ready
  • The following items are intentionally deferred:



Notes & Nuances



Pre-Merge Checklist

Code Quality

  • Code follows the project's style guidelines and conventions
  • Self-review completed (I've reviewed my own code for obvious issues)
  • No debugging code, console logs, or commented-out code left behind
  • No merge conflicts with the base branch
  • Meaningful commit messages that explain the "why"

Testing & CI

  • All CI checks are passing
  • All new and existing tests pass locally
  • Test coverage hasn't decreased (or decrease is justified)
  • Linting passes without errors

Documentation

  • Code is self-documenting or includes helpful comments for complex logic
  • API documentation updated (if backend endpoints changed)
  • Type definitions are accurate and up-to-date

Reviewer Notes

  • Areas needing extra attention: ...
  • Questions for reviewers: ...

@SHarg9876 SHarg9876 requested review from BeWelsh and Jrodrigo06 March 31, 2026 03:24
@SHarg9876 SHarg9876 added the feature Introduces a new and complete feature label Mar 31, 2026
@SHarg9876 SHarg9876 linked an issue Mar 31, 2026 that may be closed by this pull request
19 tasks
mdeekshita and others added 16 commits April 4, 2026 14:54
…nd updated schemas for endpoints for food and tags
…files to check strategy string. Added create_chunks and clear_chunks to chunk repository. Haven't tested yet. merged
…files to check strategy string. Added create_chunks and clear_chunks to chunk repository. Haven't tested yet
- Update all test mocks from GenerativeModel/llm API to genai.Client API
- Fix docker-compose.yml GEMINI_API_KEY syntax (was {$VAR}, now ${VAR})
- Regenerate uv.lock with google-genai and semantic-text-splitter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jrodrigo06 Jrodrigo06 force-pushed the feat/rag-knowledge-base branch from e17f9f1 to 9f8a344 Compare April 4, 2026 19:29
Jrodrigo06 and others added 3 commits April 4, 2026 15:37
No frontend dependency changes in this branch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jrodrigo06 Jrodrigo06 merged commit 1c9980a into main Apr 4, 2026
1 check passed
@Jrodrigo06 Jrodrigo06 deleted the feat/rag-knowledge-base branch April 8, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Introduces a new and complete feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] - RAG Knowledge Base R&D & Evaluation

5 participants