More work
This commit is contained in:
1 parent
c06f06c6ce
commit
8b476e6939
20 files changed
+871
-22
No files matched your search
@@ -0,0 +1,37 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
public class LmStudioChatRequest
|
||||
{
|
||||
[JsonPropertyName("model")]
|
||||
public required string Model { get; set; }
|
||||
|
||||
[JsonPropertyName("system_prompt")]
|
||||
public string? SystemPrompt { get; set; }
|
||||
|
||||
[JsonPropertyName("input")]
|
||||
public required string Input { get; set; }
|
||||
|
||||
[JsonPropertyName("integrations")]
|
||||
public List<string>? Integrations { get; set; }
|
||||
|
||||
[JsonPropertyName("reasoning")]
|
||||
public string? Reasoning { get; set; }
|
||||
|
||||
[JsonPropertyName("temperature")]
|
||||
public double Temperature { get; set; }
|
||||
|
||||
[JsonPropertyName("top_p")]
|
||||
public double TopP { get; set; }
|
||||
|
||||
[JsonPropertyName("context_length")]
|
||||
public int ContextLength { get; set; }
|
||||
|
||||
[JsonPropertyName("max_output_tokens")]
|
||||
public int MaxOutputTokens { get; set; }
|
||||
|
||||
[JsonPropertyName("store")]
|
||||
public bool Store { get; set; } = true;
|
||||
|
||||
[JsonPropertyName("stream")]
|
||||
public bool Stream { get; set; } = false;
|
||||
}
|
||||
Reference in new issue
Block a user