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

Migrate FixieCorpus to the new (beta) corpus API. #246

Merged
merged 9 commits into from
Aug 28, 2023
Merged

Conversation

mdwelsh
Copy link
Contributor

@mdwelsh mdwelsh commented Aug 26, 2023

The new corpus service is currently only deployed on beta.fixie.ai, however, it should be more reliable and useful than the existing app.fixie.ai API. Hence this PR updates AI.JSX's FixieCorpus component to use the new API surface. I've also added a little demo program for the component.

If we want to retain support for the old API, I'm happy to rename this component to something like FixieCorpusNew or add a flag or something to use the new API instead - feedback welcome!

@vercel
Copy link

vercel bot commented Aug 26, 2023

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

Name Status Preview Comments Updated (UTC)
ai-jsx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 9:18pm
ai-jsx-nextjs-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 9:18pm
ai-jsx-tutorial-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 9:18pm

@NickHeiner
Copy link
Contributor

If we want to retain support for the old API, I'm happy to rename this component to something like FixieCorpusNew or add a flag or something to use the new API instead - feedback welcome!

I vote for simplicity and just cutting over to the new API.

packages/ai-jsx/src/batteries/docs.tsx Outdated Show resolved Hide resolved
packages/examples/src/fixie-corpus.tsx Outdated Show resolved Hide resolved
@mdwelsh
Copy link
Contributor Author

mdwelsh commented Aug 28, 2023

Thanks for the comments - PTAL

Copy link
Contributor

@mdepinet mdepinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Matt Welsh and others added 3 commits August 28, 2023 13:47
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.

3 participants