Skip to content
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

Refactor society-wide AI component #2326

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

anth-volk
Copy link
Collaborator

Description

Fixes #2321
Fixes #2325
Depends upon review and merging of PolicyEngine/policyengine-api#2136; will remain in draft until they are merged.

Changes

This PR consumes changes made in the linked API PR, altering how we fetch AI prompts and output. It also handles the API PR's transition away from streaming for responses already present in our database, refactors front-end visuals to improve UX, and adds better error handling to prevent endless spinners.

Screenshots

AwesomeScreenshot-1_29_2025.6_26_28PM.webm

Tests

None have yet been added

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
policyengine-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 5:41pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
1 participant