I got an error using Python API v4 example with AI Studio on the
Document.
I can run following vectorizer_config.
client.collections.create(
name=collection_name,
vectorizer_config=[
Configure.NamedVectors.text2vec_palm(
name="title_vector",
source_properties=["title"],
model_id="text-embedding-004",
api_endpoint="generativelanguage.googleapis.com",
project_id=""
)
],
I think there are 2 problems.
- The project_id is REQUIRED on Python Client.
- Default api_endpoint is Vertex AI for text2vec_palm on Server side.
What do you think?