Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CaroFG opened this issue Feb 20, 2024 · 0 comments

Comments

@CaroFG
Copy link
Contributor

CaroFG commented Feb 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant