Interface CompletionFn
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Synchronously produces candidates for a completion request.
-
Method Summary
Modifier and TypeMethodDescriptionapply(InteractionContext context, CompletionRequest request) Produces completion candidates.
-
Method Details
-
apply
Produces completion candidates.- Parameters:
context- the interaction contextrequest- the completion request- Returns:
- the completion result
- Throws:
Exception- if handling fails
-