Menu
Generate vectors
Generate vectors
POST
/embedUse it in a workflow
- Add a step and choose the Pinecone connector.
- Pick the Generate vectors action (under Inference).
- Fill in the fields below, then reference the result from later steps as
{{generateVectors.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"model": "multilingual-e5-large",
"inputs": [
{
"text": "The quick brown fox jumps over the lazy dog."
}
],
"parameters": {
"input_type": "passage",
"truncate": "END"
}
}
Response
Returns 200 with an object. Read it in later steps with {{generateVectors.response.data.<field>}}.
{
"model": "multilingual-e5-large",
"vector_type": "dense",
"data": [
{}
],
"usage": {
"total_tokens": 205
}
}
Need more? See the Pinecone guide for connection setup and behaviour shared by every action.
Was this page helpful?