Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kdziedzic68 committed Nov 19, 2024
1 parent 5fb0d23 commit 48f163b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def process(self, *inputs: StepInput) -> "StepOutput":
result = []
for topic in inputs[0]:
for _ in range(self._num_per_query):
new_inp = deepcopy(inp)
new_inp = deepcopy(topic)
prompt_inp = self._prompt_class.input_type(**{self.inputs[0]: new_inp[self.inputs[0]]}) # type: ignore
new_inp[self.outputs[0]] = asyncio.get_event_loop().run_until_complete(
self._llm.generate(prompt=self._prompt_class(prompt_inp))
Expand Down

0 comments on commit 48f163b

Please sign in to comment.