Skip to content

Commit

Permalink
Restructure SPIRESEngine to accomodate abstract model (#306)
Browse files Browse the repository at this point in the history
or rather, don't use different Engines for different sources, like
GPT4All.

Also address #305 - this is a bit overloaded for a single PR but will be
messy to handle concurrently.

Support for loading local models will be in a different PR.
  • Loading branch information
caufieldjh authored Jan 16, 2024
2 parents d6c2345 + 91c2914 commit 6c1cb43
Show file tree
Hide file tree
Showing 16 changed files with 1,419 additions and 2,301 deletions.
1,652 changes: 831 additions & 821 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ eutils = ">=0.6.0"
fastapi = {version = ">=0.88.0", optional = true}
gilda = ">=1.0.0"
gpt4 = ">=0.0.1"
gpt4all = {version = "1.0.8", extras = ["gpt4all"], optional = true}
httpx = ">=0.23.3"
huggingface_hub = {version = ">=0.15.1", extras = ["huggingface"], optional = true}
inflect = ">=6.0.2"
Expand All @@ -30,7 +29,7 @@ jsonlines = ">=3.1.0"
linkml = "^1.5.7"
linkml-owl = "^0.3.0"
llm = ">=0.8"
llm-gpt4all = {version = "^0.1.1", extras = ["gpt4all"], optional = true}
llm-gpt4all = {version = ">=0.2", extras = ["gpt4all"], optional = true}
myst-parser = {version = ">=0.18.1", extras = ["docs"], optional = true}
nlpcloud = ">=1.0.39"
oaklib = ">=0.5.15"
Expand Down Expand Up @@ -79,7 +78,6 @@ recipes = [
"recipe-scrapers"
]
gpt4all = [
"gpt4all",
"llm-gpt4all"
]
textract = [
Expand Down
Loading

0 comments on commit 6c1cb43

Please sign in to comment.