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