Class ChatCompletionService
Inheritance
object
ChatCompletionService
Assembly: .dll
Syntax
public class ChatCompletionService : CRUDServiceBase<OpenRouter>
Constructors
ChatCompletionService(OpenRouter)
Declaration
public ChatCompletionService(OpenRouter client)
Parameters
Methods
CreateAsync(ChatCompletionRequest)
Declaration
public UniTask<ChatCompletion> CreateAsync(ChatCompletionRequest req)
Parameters
Returns
Stream(ChatCompletionRequest, IChatCompletionStreamHandler)
Declaration
public UniTask Stream(ChatCompletionRequest req, IChatCompletionStreamHandler streamHandler)
Parameters
Returns