Skip to content

Commit

Permalink
remove "k" from MultipleChunkRetrieverQa
Browse files Browse the repository at this point in the history
  • Loading branch information
NickyHavoc committed Apr 17, 2024
1 parent ca7a9d9 commit 492c391
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MultipleChunkRetrieverQa(
>>> token = os.getenv("AA_TOKEN")
>>> document_index = DocumentIndexClient(token)
>>> retriever = DocumentIndexRetriever(document_index, "aleph-alpha", "wikipedia-de", 3)
>>> task = MultipleChunkRetrieverQa(retriever, k=2)
>>> task = MultipleChunkRetrieverQa(retriever)
>>> input_data = RetrieverBasedQaInput(question="When was Rome founded?")
>>> tracer = InMemoryTracer()
>>> output = task.run(input_data, tracer)
Expand Down

0 comments on commit 492c391

Please sign in to comment.