add DocsURL field to Model struct for language support documentation

This commit is contained in:
leonardotrapani
2026-02-01 13:31:53 +01:00
parent 55257db725
commit 811ca71c08
10 changed files with 79 additions and 1 deletions
+6
View File
@@ -37,6 +37,8 @@ func (p *DeepgramProvider) Models() []Model {
"ro", "ru", "sk", "es", "sv", "th", "tr", "uk", "vi",
}
docsURL := "https://developers.deepgram.com/docs/language"
return []Model{
{
ID: "nova-3",
@@ -48,6 +50,7 @@ func (p *DeepgramProvider) Models() []Model {
AdapterType: "deepgram",
SupportedLanguages: nova3Langs,
Endpoint: &EndpointConfig{BaseURL: "wss://api.deepgram.com", Path: "/v1/listen"},
DocsURL: docsURL,
},
{
ID: "nova-3-general",
@@ -59,6 +62,7 @@ func (p *DeepgramProvider) Models() []Model {
AdapterType: "deepgram",
SupportedLanguages: nova3Langs,
Endpoint: &EndpointConfig{BaseURL: "wss://api.deepgram.com", Path: "/v1/listen"},
DocsURL: docsURL,
},
{
ID: "nova-2",
@@ -70,6 +74,7 @@ func (p *DeepgramProvider) Models() []Model {
AdapterType: "deepgram",
SupportedLanguages: nova2Langs,
Endpoint: &EndpointConfig{BaseURL: "wss://api.deepgram.com", Path: "/v1/listen"},
DocsURL: docsURL,
},
{
ID: "nova-2-general",
@@ -81,6 +86,7 @@ func (p *DeepgramProvider) Models() []Model {
AdapterType: "deepgram",
SupportedLanguages: nova2Langs,
Endpoint: &EndpointConfig{BaseURL: "wss://api.deepgram.com", Path: "/v1/listen"},
DocsURL: docsURL,
},
}
}