Class ChatCompletionService
Inheritance
object
ChatCompletionService
Inherited Members
CRUDServiceBase<OpenRouter>.client
CRUDServiceBase<OpenRouter>.IsBetaService
CRUDServiceBase<OpenRouter>.CustomApiKey
CRUDServiceBase<OpenRouter>.CustomBetaHeaders
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)
Declaration
public UniTask Stream(ChatCompletionRequest req)
Parameters
Returns