Hey everyone,
I am making a Livekit based backend for Voice Agents which would be receiving a JSON to parse and set configurations for the Livekit Voice Agents. Now, I have the control over what type of JSON I'd receive to make the backend work properly.
I wanted my JSON to return AI models with names exactly similar to what Livekit accepts, in its STT-LLM-TTS pipeline to keep the backend code clean, initially I thought of making my own npm package handle this through enum containing Livekit compatible model names which would be used in the Front end to construct the JSON but there are so many providers and so many AI models being provided, and also even if I create a package, there is no future-proofing for newer models (I would have to manually update my package), same goes if some models go reduntant.
At this point, does livekit provides any library or package of its own to use to confirm model specifications/names which is updated by its own developers, or anything dynamic I could do keeping my code clean?