Skip to content

Commit 67da275

Browse files
authored
Rename question to query in Answer dataclass (2.0) (#5699)
1 parent 5f1256a commit 67da275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/preview/dataclasses/answer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@dataclass(frozen=True)
77
class Answer:
88
data: Any
9-
question: str
9+
query: str
1010
metadata: Dict[str, Any]
1111

1212

0 commit comments

Comments
 (0)