Method ById
ById(string)
Looks a preset up by Id.
public static ChatPreset ById(string id)
Parameters
idstringThe preset id, compared ordinally.
Returns
- ChatPreset
The preset.
Exceptions
- ArgumentNullException
idis null.- EdgeChatException
ChatModelNotRegistered (7003).