Open blob42 opened 2 months ago
Hello! Thank you for submitting this feature request in our LocalAI repository. I'm a bot, an experiment of @mudler, auditing the tickets that get opened here.
From the details given in your issue, I understand that you'd like to make some changes to the back-end grpc service in order to add a new feature. You initially wanted to query available models and speakers on the TTS backend, but later realized that this feature should not be specific to TTS. Your proposed solution includes:
Info()
or Query
to query arbitrary information from the backend.You mentioned that you'll be starting a draft PR for this. We appreciate the contribution and look forward to seeing the changes.
If you have any further questions or concerns, please don't hesitate to ask.
The ticket number for this issue is #2185, and the current label is [enhancement].
e Is your feature request related to a problem? Please describe.
Follow-up to #2086
I originally wanted to be able to query available models/speakers on the TTS backend and realized there were too many changes to keep this feature specific to TTS.
My first attempt was to add a gRPC service
TTSInfoRequest
to query the backend. I found out down the road that the backend grpc service is loaded with the model at the same time, however Info requests might not send any model infromation.Describe the solution you'd like
Info()
orQuery
to query arbitrary information from the backend.A model could be loaded later using the same spawned service or tear-down and start a new one for the designated model. This would make it possible to add endpoints to query the backend for arbitrary information such as available models, params, speakers ... etc
I will start a draft PR.
Additional context