machinewrapped / gpt-subtrans

Open Source project using LLMs to translate SRT subtitles
Other
310 stars 36 forks source link

Support for local LLM servers #159

Closed machinewrapped closed 2 months ago

machinewrapped commented 2 months ago

Not strictly a requirement that the server be local, but since there is no setting for an API key it's assumed to be at least a private instance.

The main difference is that the provider is more configurable, allowing selection of chat or completion endpoints and a customisable prompt template (TBD whether this is useful).

The provider handles its own requests using httpx, which means it is not dependent on any specific provider's SDK being installed.