Skip to content

Add AI Budget Tools, Enhanced Natural Language Queries, and Bug FixesF/raynab ai #18611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
061e63a
Enhance Raynab extension with new features and improvements
omarshahine Apr 10, 2025
ddbb854
Add checkForActiveBudget hook to Raynab extension
omarshahine Apr 10, 2025
87e1ee0
Update Raynab extension to utilize checkForActiveBudget hook
omarshahine Apr 10, 2025
55116d5
Update Raynab extension with new transaction features and dependency …
omarshahine Apr 10, 2025
37b1a71
Fixes
omarshahine Apr 11, 2025
fee1008
Enhance Raynab extension with new account management features
omarshahine Apr 14, 2025
90c83b4
Refine account management descriptions and improve account detail ret…
omarshahine Apr 14, 2025
b2f66c3
Enhance transaction creation functionality and error handling
omarshahine Apr 14, 2025
5eba54b
Refactor YNAB transaction tools and enhance functionality
omarshahine Apr 15, 2025
4ce0194
Refactor transaction handling in Raynab extension
omarshahine Apr 15, 2025
6aa1c72
Refactor transaction edit form and update AI instructions
omarshahine Apr 15, 2025
c5bd12e
Refactor transaction edit form and improve type definitions
omarshahine Apr 15, 2025
2f1a5d4
Enhance transaction deletion handling in Raynab extension
omarshahine Apr 15, 2025
55e659a
Improve date handling and validation in TransactionCreateForm
omarshahine Apr 15, 2025
7adfd48
Add new AI tools for budget retrieval in Raynab extension
omarshahine Apr 15, 2025
3e3f5ba
Update AI instructions in ai.json to reflect user queries with @rayna…
omarshahine Apr 15, 2025
a08ef5f
Update CHANGELOG and README to reflect new AI Extensions in Raynab
omarshahine Apr 15, 2025
32c21e3
Update package-lock.json and package.json for Raynab extension depend…
omarshahine Apr 15, 2025
41424f1
Fixing Property 'forApproval' does not exist on type 'IntrinsicAttrib…
omarshahine Apr 15, 2025
ae7d90f
Update AI instructions and improve transaction mock data in Raynab ex…
omarshahine Apr 15, 2025
6d5f799
Refactor budget check handling in Raynab extension components
omarshahine Apr 15, 2025
7187940
Refactor OpenInYnabAction and TransactionCreateForm components
omarshahine Apr 15, 2025
d212f18
style: Redundant reconciled check - already handled by useEffect hook…
omarshahine Apr 15, 2025
bc88b68
Refactor logging and improve account search logic in Raynab extension…
omarshahine Apr 15, 2025
af025e0
Enhance error handling and date validation in Raynab extension tools
omarshahine Apr 15, 2025
1a1fd12
Enhance transaction deletion handling in TransactionView component
omarshahine Apr 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions extensions/raynab/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Raynab Changelog

## [AI Budget Tools & Improvements] - {PR_MERGE_DATE}

### ✨ New Features - AI Extensions
- Added new AI Extensions for natural language budget queries:
- `get-budget`: Query budget information including age of money and monthly details
- Example: "What is the age of money in my March budget?"
- Example: "Tell me about this month's budget?"
- `get-big-numbers`: Track spending for today, this week, and this month
- Example: "How much have I spent today?"
- Example: "What are my big three numbers?"
- `get-transactions`: Search and filter transactions with natural language
- Example: "Show me all transactions from Taco Bell last month"
- Example: "Find my largest expense this week"
- `get-categories`: Query category information and spending
- Example: "How much did I spend on groceries last month?"
- Example: "Which categories are over budget?"

### 💎 Improvements
- Enhanced budget data retrieval with proper date formatting
- Improved error handling for budget queries by sending you to the select a budget screen
- Added detailed logging for budget tool debugging
- Enhanced currency formatting in budget responses
- Added support for natural language queries across all tools
- Improved error messages and user feedback for AI tool operations

### 🐞 Bug Fixes
- Fixed date format mismatch in budget month queries
- Fixed budget data retrieval for specific months
- Resolved issues with budget currency formatting
- Fixed error handling in AI tool operations
- Resolved issues with transaction form validation for create and edit

## [Improvements & Bug fixes] - 2025-02-14

- Add a dropdown to choose the transaction's payee. Optionally allow manual input
Expand Down
27 changes: 27 additions & 0 deletions extensions/raynab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,33 @@ You can change the active budget at any time using the command. For most people

## Commands

### AI Extensions

Raynab now includes AI Extensions for querying your budget information through natural language. You can ask questions like:

#### Transaction Management
- "@raynab add a transaction for $25.50 at Starbucks"
- "@raynab show me my recent transactions"
- "@raynab show me my Amazon purchases from last year"
- "@raynab what did I spend at Target in the past month?"
- "@raynab what was my transaction with Amazon on March 14?"
- "@raynab show me my transactions with Amazon this month"
- "@raynab what did I spend at Amazon last month?"

#### Account Queries
- "@raynab show me my account balances"
- "@raynab what is my checking account balance?"
- "@raynab show me my checking account"
- "@raynab how much is in my checking?"

#### Big Numbers
- "@raynab what are my big three numbers?"
- "@raynab show me my big numbers"

#### Budget Information
- "@raynab what is the age of money in my current budget?"
- "@raynab tell me about my this month's budget"

### List Transactions

This command will list your transactions for up to a year. It is the heart of Raynab as this will probably the place where you will spend most of your time understanding your inflows, outflows, and transfers.
Expand Down
Loading
Loading