14 lines
411 B
C#
14 lines
411 B
C#
using System.Collections.Generic;
|
|
|
|
namespace LinkToolAddin.host.llm;
|
|
|
|
public interface Llm
|
|
{
|
|
public string model { get; set; }
|
|
public string temperature { get; set; }
|
|
public string top_p { get; set; }
|
|
public string max_tokens { get; set; }
|
|
|
|
public IAsyncEnumerable<string> SendChatStreamAsync(string message);
|
|
public IAsyncEnumerable<string> SendApplicationStreamAsync(string message);
|
|
} |