I just run the same code as documentation:
from pinecone import Pinecone
pc = Pinecone(PINECONE_API_KEY)
pc.inference.embed(
model="pinecone-sparse-english-v0",
inputs=["The share price of NVIDIA is $10"],
parameters={
"input_type": "passage", # or query
"return_tokens": True,
}
)
TypeError: object of type 'NoneType' has no len()
Anyone got the same problem as me ?
Many thanks