mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 08:47:21 +00:00
11 lines
567 B
C#
11 lines
567 B
C#
namespace AIStudio.Assistants.SWOTAnalysis;
|
|
|
|
/// <summary>
|
|
/// Reads the answer of a model into a result.
|
|
/// </summary>
|
|
/// <typeparam name="TResult">The result.</typeparam>
|
|
/// <param name="answer">The answer of the model.</param>
|
|
/// <param name="result">The result, or an empty one when reading failed.</param>
|
|
/// <param name="issue">Why reading failed, written for the model; empty on success.</param>
|
|
/// <returns>Whether the answer could be read.</returns>
|
|
internal delegate bool SwotAnswerReader<TResult>(string answer, out TResult result, out string issue); |