Skip to content

The KeywordMetadataEnricher processes Chinese documents, but the generated keywords are in English. #2698

Open
@renpengben

Description

@renpengben

Use the KeywordMetadataEnricher to process the document. The content of the document is in Chinese, but the generated keywords are in English. Is it because the public static final String KEYWORDS_TEMPLATE in the KeywordMetadataEnricher is "{context_str}. Give %s unique keywords for this document. Format as comma separated. Keywords:", which is a template with English prompt words?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions