-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove PickleDB support * update tests * remove unused functions from utils * allow passing a connection directly to sqlite * remove .base when importing from completers and validators
- Loading branch information
Showing
16 changed files
with
95 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
from .base import ChatGPTCompleter, GPT3Completer, completer_factory | ||
from .base import ( | ||
ChatGPTCompleter, | ||
Completer, | ||
Completion, | ||
GPT3Completer, | ||
completer_factory, | ||
) | ||
|
||
__all__ = [ | ||
completer_factory, | ||
GPT3Completer, | ||
ChatGPTCompleter, | ||
Completer, | ||
Completion, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from .base import DocumentsManager | ||
from .pickle import DocumentsPickle | ||
from .service import DocumentsService | ||
from .sqlite import DocumentsDB | ||
|
||
__all__ = [DocumentsManager, DocumentsPickle, DocumentsDB, DocumentsService] | ||
__all__ = [DocumentsManager, DocumentsDB, DocumentsService] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from .base import Retriever | ||
from .pickle import PickleRetriever | ||
from .service import ServiceRetriever | ||
from .sqlite import SQLiteRetriever | ||
|
||
__all__ = [Retriever, PickleRetriever, SQLiteRetriever, ServiceRetriever] | ||
__all__ = [Retriever, SQLiteRetriever, ServiceRetriever] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .base import Validator | ||
|
||
__all__ = [Validator] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.