haystack-website icon indicating copy to clipboard operation
haystack-website copied to clipboard

Missing a } in the documentation

Open HighDeFing opened this issue 2 years ago • 0 comments

Here https://github.com/deepset-ai/haystack-website/blob/source/docs/latest/components/ready_made_pipelines.mdx#documentsearchpipeline This line is missing a }

pipeline = DocumentSearchPipeline(retriever)
query = "Tell me something about that time when they play chess."
result = pipeline.run(query, params={"Retriever": {"top_k": 2})

should be

pipeline = DocumentSearchPipeline(retriever)
query = "Tell me something about that time when they play chess."
result = pipeline.run(query, params={"Retriever": {"top_k": 2}})

HighDeFing avatar Mar 31 '22 15:03 HighDeFing