Fiftyone, Qdrant.
the corresponding embedding vector. def get_text_embedding(prompt, clip_model): tokenizer = clip_model._tokenizer # standard start-of-text token sot_token = tokenizer.encoder["<|startoftext|>"] # standard end-of-text token eot_token = tokenizer.encoder["<|endoftext|>"] prompt_tokens =