|
|
|
@@ -55,23 +55,6 @@ public sealed class BatchedExecutor |
|
|
|
Epoch = 1; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Start a new <see cref="Conversation"/> with the given prompt |
|
|
|
/// </summary> |
|
|
|
/// <param name="prompt"></param> |
|
|
|
/// <returns></returns> |
|
|
|
[Obsolete("Use BatchedExecutor.Create instead")] |
|
|
|
public Conversation Prompt(string prompt) |
|
|
|
{ |
|
|
|
if (IsDisposed) |
|
|
|
throw new ObjectDisposedException(nameof(BatchedExecutor)); |
|
|
|
|
|
|
|
var conversation = Create(); |
|
|
|
conversation.Prompt(prompt); |
|
|
|
|
|
|
|
return conversation; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Start a new <see cref="Conversation"/> |
|
|
|
/// </summary> |
|
|
|
|