Skip to content

Commit

Permalink
pipeline examples lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anomnaco authored and mounaTay committed Jan 11, 2024
1 parent d51dbc8 commit b5b89e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/pipeline_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
# Run the pipeline
question = "How many languages are there in the world today?"
result = rag_pipeline.run(
{"embedder": {"text": question}, "retriever": {"top_k": 2}, "prompt_builder": {"question": question}, "answer_builder": {"query": question}}
{
"embedder": {"text": question},
"retriever": {"top_k": 2},
"prompt_builder": {"question": question},
"answer_builder": {"query": question},
}
)
print(result)

0 comments on commit b5b89e2

Please sign in to comment.