Inference API
Embed data
Generate embeddings for input data.
POST
/
embed
This feature is in public preview and is not recommended for production usage.
To use the Inference API with the Python client, upgrade the client and install the pinecone-plugin-inference
package as follows:
pip install --upgrade \
pinecone-client \
pinecone-plugin-inference
Authorizations
Api-Key
string
headerrequiredAn API Key is required to call Pinecone APIs. Get yours from the console.
Body
application/json
model
string
requiredparameters
object
Model-specific parameters.
inputs
object[]
requiredResponse
200 - application/json
model
string
data
object[]
usage
object
Usage statistics for model inference including any instruction prefixes
Was this page helpful?