Skip to content

feat: add capabilities() to Python wrapper#27

Merged
nikhilwoodruff merged 1 commit intomainfrom
feat/capabilities-only
Apr 8, 2026
Merged

feat: add capabilities() to Python wrapper#27
nikhilwoodruff merged 1 commit intomainfrom
feat/capabilities-only

Conversation

@nikhilwoodruff
Copy link
Copy Markdown
Contributor

Adds a capabilities() function that returns a structured dict: available datasets with descriptions and locally cached years, programmes modelled, available microdata columns, and key notes (e.g. rent is an input field so rent burden can be computed across any year 1994–2026). Used by the chatbot to ground its responses at the start of every conversation.

Returns a structured dict describing available datasets, locally cached
years, programmes modelled, and microdata columns. Useful for LLM
consumers that need to know what the engine can and can't do.

Co-Authored-By: Nikhil Woodruff <nikhil@policyengine.org>
@nikhilwoodruff nikhilwoodruff merged commit 4d58dc4 into main Apr 8, 2026
@nikhilwoodruff nikhilwoodruff deleted the feat/capabilities-only branch April 8, 2026 12:15
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