Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

Weaviate requires a string of UUID format when adding json Schema

$
0
0

hi @nemozak1 !!

Welcome to our community :hugs:

indeed, you can only pass a UUID as a parameter.

You can always generate a UUID from that value:

from weaviate.utils import generate_uuid
generated_uuid = generate_uuid(endpoint_uuid)

test_collection.data.insert(
                    properties = endpoint_object,
                    uuid=generated_uuid
                )

Let me know if this works for you.

Thanks!


Viewing all articles
Browse latest Browse all 3588

Trending Articles