Shortcuts

qdrant_client.local.payload_value_extractor module

test_value_by_key() None[source]
value_by_key(payload: dict, key: str, flat: bool = True) Optional[List[Any]][source]

Get value from payload by key. :param payload: arbitrary json-like object :param flat: If True, extend list of values. If False, append :param key: Key or path to value in payload.

Examples

  • “name”

  • “address.city”

  • “location[].name”

  • “location[0].name”

Returns

List of values or None if key not found.

Qdrant

Learn more about Qdrant vector search project and ecosystem

Discover Qdrant

Similarity Learning

Explore practical problem solving with Similarity Learning

Learn Similarity Learning

Community

Find people dealing with similar problems and get answers to your questions

Join Community