Skip to content

Text2Measurements API and Developer Portal #132

@mikepsinn

Description

@mikepsinn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions