Closed guimachiavelli closed 1 week ago
field.is_searchable allows users to filter out any documents that are not searchable. This changes the default value of documentTemplate to:
field.is_searchable
documentTemplate
{% for field in fields %} {% if field.is_searchable and not field.value == nil %} {{ field.name }}: {{ field.value }}\n {% endif %} {% endfor %}
The new default value only applies to embedders created with >=v1.11
reference/api/settings#embedders-object
reference/api/settings#documenttemplate
field.is_searchable
allows users to filter out any documents that are not searchable. This changes the default value ofdocumentTemplate
to:The new default value only applies to embedders created with >=v1.11
Tasks
reference/api/settings#embedders-object
reference/api/settings#documenttemplate
References