Skip to content

Scrapix Docker image configuration: JSON string parsing and Liquid syntax compatibility #95

Open
@CaroFG

Description

@CaroFG

Scrapix docker image only accepts a JSON string to pass the configuration. The problem arises when trying to pass a documentTemplate, which uses Liquid syntax:

the JSON string should not have any space, because it returns an “unexpected end of json input”. But when it does not have any spaces, I get a Meilisearch API error:

.embedders.default.documentTemplate`: Invalid template: user error: cannot parse template: liquid: 

Ideally, I'd like to have the cloud crawler accept a configuration file. It would simplify the process and enable cloud users to add hybrid search capabilities to their documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions