mirror of
				https://github.com/nomic-ai/gpt4all.git
				synced 2025-10-31 05:41:39 +00:00 
			
		
		
		
	rename embedder
This commit is contained in:
		| @@ -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(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user