Class ChainExecutorExtensions
Extension class for IChain
Inheritance
object
ChainExecutorExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotnetPrompt.Chains
Assembly: DotnetPrompt.dll
Syntax
public static class ChainExecutorExtensions
Methods
| Improve this Doc View SourceGetExecutor(IChain, bool)
Create chain executor for IChain
Declaration
public static IChainExecutor GetExecutor(this IChain chain, bool oneShot = true)
Parameters
Type | Name | Description |
---|---|---|
IChain | chain | |
bool | oneShot |
Returns
Type | Description |
---|---|
IChainExecutor | IChainExecutor instance to execute chain |
Exceptions
Type | Condition |
---|---|
System.NotImplementedException |