process_value#

langchain_community.query_constructors.milvus.process_value(value: 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 (int | float | str) – The value to convert.

  • comparator (Comparator) – The comparator.

Returns:

The converted value as a string.

Return type:

str