declare function getCompletion(completionName: CompletionName): ICompletionSchema<IBaseMessage<any>, IBaseCompletionArgs<IBaseMessage<any>>>;
Retrieves a completion schema by its name from the swarm's completion schema service. Logs the operation if logging is enabled in the global configuration.
| Parameter | Description |
|---|---|
completionName |
The name of the completion. |