Skip to contents

generate_uuid_from_text generates a unique UUID for a given piece of text.

Usage

generate_uuid_from_text(text = NA_character_)

Arguments

text

a piece of text to generate a UUID. Defaults to NA.

Details

Generates a UUID for a piece of text. The same text will give the same id. This is useful to generate an id for inserting vectors into qdrant.

Examples

generate_uuid_from_text("hi there")
#> [1] "9b96a1fe-1d54-4cbb-c960-cc6a0286668f"