Commit 599205c4 authored by lintangsutawika's avatar lintangsutawika
Browse files

edit to accept docs

parent faa2e43d
...@@ -9,7 +9,7 @@ class TakeFirstFilter(Filter): ...@@ -9,7 +9,7 @@ class TakeFirstFilter(Filter):
Can define custom behavior here, if an individual instantiation of a Filter class should have state. Can define custom behavior here, if an individual instantiation of a Filter class should have state.
""" """
def apply(self, resps): def apply(self, resps, docs):
""" """
Assuming each entry of `resps` is a list of model responses, we discard all but the first response. Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment