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

Text2Measurements API and Developer Portal #132

Open
mikepsinn opened this issue Feb 20, 2024 · 0 comments
Open

Text2Measurements API and Developer Portal #132

mikepsinn opened this issue Feb 20, 2024 · 0 comments

Comments

@mikepsinn
Copy link
Contributor

I made a library for this:
https://github.com/FDA-AI/FDAi/tree/develop/libs/text-2-measurements

It works well for the test cases here:
https://github.com/FDA-AI/FDAi/blob/develop/libs/text-2-measurements/src/lib/statement-2-measurements.json

We'll have to add more test cases and set up automated testing with GitHub actions to avoid regression.

We can create a NextJS app in the apps folder with an API and developer portal for people to sign up, create API keys, and manage usage, similar to the OpenAI API key management system.
https://platform.openai.com/api-keys

Ideally, it would be easily deployable on Vercel.

We'll also want to implement caching for when we receive identical requests so we don't waste so much money on the LLM calls.

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

No branches or pull requests

1 participant