use method
Adds a middleware factory to the pipeline.
Implementation
EmbeddingGeneratorBuilder use(
EmbeddingGenerator Function(EmbeddingGenerator) factory) {
_factories.add(factory);
return this;
}
Adds a middleware factory to the pipeline.
EmbeddingGeneratorBuilder use(
EmbeddingGenerator Function(EmbeddingGenerator) factory) {
_factories.add(factory);
return this;
}