Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skip ci] breaking changes of store and index apis #322

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
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
Prev Previous commit
Next Next commit
s
  • Loading branch information
ouonline committed Oct 31, 2024
commit debe8fe31ba005ac1dc3ce0cc6fb7a2856e53a9c
2 changes: 1 addition & 1 deletion lazyllm/tools/rag/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 31,7 @@ def __init__(self, dataset_path: str, embed: Optional[Union[Callable, Dict[str,
self._submodules.append(embed)
self._dlm = DocListManager(dataset_path, name).init_tables()
self._kbs = {DocListManager.DEDAULT_GROUP_NAME: DocImpl(embed=self._embed, dlm=self._dlm, store=store)}
if manager: self._manager = DocManager(self._dlm)
if manager: self._manager = ServerModule(DocManager(self._dlm))
if server: self._doc = ServerModule(self._doc)

def add_kb_group(self, name, store: StoreBase):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.