Generates embeddings for text data using a Requesty-routed embedding model. The text is split into chunks and an embedding is returned for each chunk.
The returned embeddings is an array of the form: [{ "index": 0, "text": "chunk1", "vector": [1.1, 1.2, 1.3] }].
TIP: use the JSONata modifier to convert the embeddings array into custom formats. For convenience, the component also returns the first vector in the embeddings array which is useful when querying vector databases to find relevant chunks.
Generates embeddings for a text file using a Requesty-routed embedding model. The file is split into 1MB parts, each part is split into chunks and an embedding is returned for each chunk. The component emits one embeddings array per file part.
The returned embeddings is an array of the form: [{ "index": 0, "text": "chunk1", "vector": [1.1, 1.2, 1.3] }].
TIP: use the JSONata modifier to convert the embeddings array into custom formats.
Lists the models available through the Requesty router, including their identifiers and metadata.
Performs an arbitrary authorized API call to the Requesty API.
Sends a prompt to a model routed through Requesty and returns the answer.