Skip to content

Commit

Permalink
fixed final issue with package version not working, openai version ne…
Browse files Browse the repository at this point in the history
…eded to be 1.58.1 instead of 1.55.0
  • Loading branch information
SpencerPresley committed Jan 1, 2025
1 parent a57ef40 commit dd1fc9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ The default AI model used for all parts is `gpt-4o-mini`. If you want to use a d
Here's how you would run the pipeline using the larger `gpt-4o` model:

```bash
python pipeline.py --from-month=1 --to-month=12 --from-year=2019 --to-year=2024 --crossref-affiliation="Salisbury University" --as-excel --db-name=Your_Database_Name --pre-classification-model=gpt-4o --classification-model=gpt-4o --theme-model=gpt-4o
python pipeline.py --from-month=1 --to-month=12 --from-year=2019 --to-year=2024 --crossref-affiliation="Salisbury University" --**as**-excel --db-name=Your_Database_Name --pre-classification-model=gpt-4o --classification-model=gpt-4o --theme-model=gpt-4o
```

### Option 2 - Your own script (Not recommended)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "academic_metrics"
version = "1.0.0"
version = "1.0.1"
description = "A tool to extract and format academic data from Web of Science and Crossref"
authors = [
{ name = "Spencer Presley", email = "[email protected]" },
Expand All @@ -25,7 +25,7 @@ dependencies = [
"langchain_core==0.3.19",
"langchain_google_genai==2.0.5",
"langchain_openai==0.2.9",
"openai==1.55.0",
"openai==1.58.1",
"pandas==2.2.3",
"pydantic==2.9.2",
"pylatexenc==2.10",
Expand Down
1 change: 1 addition & 0 deletions src/academic_metrics/DB/DatabaseSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def __init__(self, *, db_name: str, mongo_url: str):
if not mongo_url:
print("Url error")
return

self.mongo_url = mongo_url
self.client = MongoClient(self.mongo_url, server_api=ServerApi("1"))
self.db = self.client[db_name]
Expand Down

0 comments on commit dd1fc9b

Please sign in to comment.