mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
rename embedder
This commit is contained in:
parent
ee4186d579
commit
15f1fe5445
@ -1,2 +1,2 @@
|
||||
from .gpt4all import GPT4All, Embedder # noqa
|
||||
from .gpt4all import GPT4All, Embed4All # noqa
|
||||
from .pyllmodel import LLModel # noqa
|
||||
|
@ -15,7 +15,7 @@ from . import pyllmodel
|
||||
# TODO: move to config
|
||||
DEFAULT_MODEL_DIRECTORY = os.path.join(str(Path.home()), ".cache", "gpt4all").replace("\\", "\\\\")
|
||||
|
||||
class Embedder:
|
||||
class Embed4All:
|
||||
def __init__(
|
||||
self
|
||||
):
|
||||
|
@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from io import StringIO
|
||||
|
||||
from gpt4all import GPT4All, Embedder
|
||||
from gpt4all import GPT4All, Embed4All
|
||||
import time
|
||||
|
||||
def test_inference():
|
||||
|
Loading…
Reference in New Issue
Block a user