MCPcopy Create free account
hub / github.com/IDEA-Research/T-Rex / convert_embedding_prompt

Method convert_embedding_prompt

trex/model_wrapper.py:78–89  ·  view source on GitHub ↗

Convert the prompt to the format required by the API

(
        self, target_image: Union[str, Image.Image], base64_embedding: str
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

embedding_inferenceMethod · 0.95

Calls 1

encode_imageFunction · 0.85

Tested by

no test coverage detected