defenseunicorns / leapfrogai

Production-ready Generative AI for local, cloud native, airgap, and edge deployments.
https://leapfrog.ai
Apache License 2.0
244 stars 25 forks source link

chore(api): Separate type variable names from db column names #598

Open CollectiveUnicorn opened 3 weeks ago

CollectiveUnicorn commented 3 weeks ago

Describe what should be investigated or refactored

When libraries that we use are updated (openai-python for instance) variable names may change. Given that we are updating the database using these objects it can have a cascading effect on the db. The db column names need to be divorced from the python object.