| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 89 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BeforeGenerateEmbeddingEvent:: (5 methods):
__construct()
getInputs()
getModel()
getCapability()
__clone()
Class: BeforeGenerateEmbeddingEvent - X-Ref
Event dispatched before inputs are sent to an embedding generation model.| __construct(array $inputs, ModelInterface $model, CapabilityEnum $capability) X-Ref |
| Constructor. param: list<MessagePart> $inputs The inputs to be sent to the model. param: ModelInterface $model The model that will generate embeddings. param: CapabilityEnum $capability The capability being used for generation. |
| getInputs() X-Ref |
| Gets the inputs to be sent to the model. return: list<MessagePart> The inputs. |
| getModel() X-Ref |
| Gets the model that will generate embeddings. return: ModelInterface The model. |
| getCapability() X-Ref |
| Gets the capability being used for generation. return: CapabilityEnum The capability. |
| __clone() X-Ref |
| Performs a deep clone of the event. |
| Generated : Wed Oct 14 08:20:33 2026 | Cross-referenced by PHPXref |