Skip to content

Commit

Permalink
fix(llamabot/components)🔧: Update FTS index creation and llamabot ver…
Browse files Browse the repository at this point in the history
…sion

- Enable replacement of existing FTS index in LanceDBDocStore.
- Update llamabot version from 0.10.0 to 0.10.1 in pixi.lock.
  • Loading branch information
ericmjl committed Dec 11, 2024
1 parent 0f29f39 commit 973f850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llamabot/components/docstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class DocstoreEntry(LanceModel):
]
except ValueError:
self.existing_records = []
self.table.create_fts_index(field_names=["document"])
self.table.create_fts_index(field_names=["document"], replace=True)

def __contains__(self, other: str) -> bool:
"""Returns boolean whether the 'other' document is in the store.
Expand Down
4 changes: 2 additions & 2 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 973f850

Please sign in to comment.