Skip to content

Commit 092aa1f

Browse files
authored
Support URL in ModelConfig (#224)
Support URL for OpenAI-API-compatible API providers like Azure.
1 parent 12ebe62 commit 092aa1f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Typesense/AutoEmbeddingConfig.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public record ModelConfig
2626
[JsonPropertyName("api_key")]
2727
public string? ApiKey { get; init; }
2828

29+
[JsonPropertyName("url")]
30+
public string? Url { get; init; }
31+
2932
[JsonPropertyName("access_token")]
3033
public string? AccessToken { get; init; }
3134

0 commit comments

Comments
 (0)