HasTextGateway
trait HasTextGateway
Properties
| protected StepTextGateway | $textGateway | ||
| protected TextGenerationLoop|null | $textGenerationLoop |
Methods
textGateway()
Get the provider's text gateway.
textGenerationLoop()
Get the multi-step text generation loop wrapping the provider's text gateway.
Details
at line 20
StepTextGateway
textGateway()
Get the provider's text gateway.
at line 30
HasTextGateway
useTextGateway(StepTextGateway $gateway)
Set the provider's text gateway.
Changing a shared provider's gateway affects subsequent operations.
at line 42
TextGenerationLoop
textGenerationLoop()
Get the multi-step text generation loop wrapping the provider's text gateway.