Skip to content

Generalized decision framework to support expense domain - #19

Open
Namit-kumar2003 wants to merge 1 commit into
ResearchifyLabs:mainfrom
Namit-kumar2003:expense-domain-generalization
Open

Namit-kumar2003 wants to merge 1 commit into
ResearchifyLabs:mainfrom
Namit-kumar2003:expense-domain-generalization

Conversation

@Namit-kumar2003

Copy link
Copy Markdown

Generalize decision framework to support expense domain

##Summary

This pull request generalizes the framework form decision only to support expense domain. The addition of third domain is also feasible.

##Changes made

-Generalized the core interface to support multiple domain
-Added the expense pydantic model
-Added the expense-extraction profile
-Added the expense-extraction prompt
-Implemented the expense normalization and persistence flow

##Why?

The initial framework was hardcoded towards the decision domain so just creating new files wouldn't have done it. These changes decouple it from the decision domain and supports addition of second or third domain.

##Test

-Expense-extract is verified.

This branch has not been deployed

No deployments
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.

1 participant