feat: Add natural language query endpoint for financial data#303
Open
Elvis-scholar wants to merge 1 commit intorohitdash08:mainfrom
Open
feat: Add natural language query endpoint for financial data#303Elvis-scholar wants to merge 1 commit intorohitdash08:mainfrom
Elvis-scholar wants to merge 1 commit intorohitdash08:mainfrom
Conversation
Implements Issue rohitdash08#74 - Natural Language Finance Query Features: - New /query endpoint that accepts natural language queries - Supports date range parsing (last quarter, this month, last year, etc.) - Automatic category extraction from query text - Returns accurate answer with source data - Optional Gemini AI integration for better answer formatting - Comprehensive test coverage Example queries: - 'How much did I spend on food last quarter?' - 'What did I spend this month?' - 'How much did I spend in the last 30 days?' Technical details: - Added nlp_query.py service with date parsing and category matching - Added query.py route with JWT authentication - Added comprehensive pytest tests - Handles edge cases (empty query, missing auth, etc.) Closes rohitdash08#74
Author
|
Hi @rohitdash08, This PR implements Issue #74 which is labeled as "bounty" and "high impact". Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Issue #74 - Natural Language Finance Query
Features:
Example queries:
Technical details:
Closes #74
Summary
Validation
cd app && npm run lintcd app && npm test -- --runInBand./scripts/test-backend.ps1Security and Ownership
main)Checklist