Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TimeWeightedVectorStoreRetriever(BaseRetriever):
k: int = 4
"""The maximum number of documents to retrieve in a given call."""

other_score_keys: list[str] = []
other_score_keys: list[str] = Field(default_factory=list)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of Field we should be using field

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"""Other keys in the metadata to factor into the score, e.g. 'importance'."""

default_salience: Optional[float] = None
Expand Down
Loading