langchain.retrievers.self_query.milvus.process_value¶

langchain.retrievers.self_query.milvus.process_value(value: Union[int, float, str], comparator: Comparator) str[source]¶

Convert a value to a string and add double quotes if it is a string.

It required for comparators involving strings.

Parameters
  • value – The value to convert.

  • comparator – The comparator.

Returns

The converted value as a string.