trait HasEmbeddingGateway

Properties

protected EmbeddingGateway $embeddingGateway

Methods

embeddingGateway()

Get the provider's embedding gateway.

useEmbeddingGateway(EmbeddingGateway $gateway)

Set the provider's embedding gateway.

Details

at line 17
EmbeddingGateway embeddingGateway()

Get the provider's embedding gateway.

Return Value

EmbeddingGateway

at line 27
HasEmbeddingGateway useEmbeddingGateway(EmbeddingGateway $gateway)

Set the provider's embedding gateway.

Changing a shared provider's gateway affects subsequent operations.

Parameters

EmbeddingGateway $gateway

Return Value

HasEmbeddingGateway