Skip to content

Commit

Permalink
Development: Update nltk to 3.9.1 and langchain-community to 0.2.15 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliansoelch authored Dec 8, 2024
1 parent a71756d commit 454b632
Show file tree
Hide file tree
Showing 12 changed files with 2,716 additions and 2,703 deletions.
1,690 changes: 855 additions & 835 deletions llm_core/poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions llm_core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ athena = {path = "../athena", develop = true}
langsmith = ">=0.1.0,<0.2.0"
gitpython = "3.1.41"
langchain = "0.2.15"
langchain-community="0.2.10"
langchain-community="0.2.15"
langchain-openai = "0.1.23"
nltk = "3.8.1"
nltk = "3.9.1"
openai = "1.51.1"
python-dotenv = "1.0.0"
tiktoken = "0.7.0"
Expand All @@ -26,4 +26,4 @@ prospector = "^1.10.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ async def suggest_feedback(exercise: Exercise, submission: Submission, is_graded


if __name__ == "__main__":
nltk.download("punkt")
nltk.download("punkt_tab")
tiktoken.get_encoding("cl100k_base")
app.start()
1,090 changes: 540 additions & 550 deletions modules/modeling/module_modeling_llm/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/modeling/module_modeling_llm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ athena = { path = "../../../athena", develop = true }
#athena = { git = "https://github.com/ls1intum/Athena.git", rev = "d9ff3bd", subdirectory = "athena"}
llm_core = { path = "../../../llm_core", develop = true }
python-dotenv = "1.0.0"
nltk = "3.8.1"
nltk = "3.9.1"
gitpython = "3.1.41"
tiktoken = "0.7.0"
langsmith = "0.1.106"
Expand Down
1,499 changes: 754 additions & 745 deletions modules/programming/module_programming_llm/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/programming/module_programming_llm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gitpython = "^3.1.41"
tiktoken = "0.7.0"
promptlayer = "^0.1.85"
python-dotenv = "^1.0.0"
nltk = "^3.8.1"
nltk = "3.9.1"

[tool.poetry.group.dev.dependencies]
types-requests = "^2.31.0.8"
Expand Down
13 changes: 7 additions & 6 deletions modules/programming/module_programming_winnowing/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python = "3.11.*"
# if you have local changes in the common Athena module, use the line below. Otherwise, please use a VCS stable version. Also, a version with tag = "" is possible.
# athena = { path = "../athena", develop = true }
athena = { git = "https://github.com/ls1intum/Athena.git", rev = "bbb2bb0", subdirectory = "athena"}
nltk = "^3.6.5"
nltk = "3.9.1"
antlr4-python3-runtime = "^4.13.1"

[tool.poetry.group.dev.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions modules/text/module_text_llm/module_text_llm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ async def evaluate_feedback(
return evaluation

if __name__ == "__main__":
nltk.download("punkt")
nltk.download("punkt_tab")
tiktoken.get_encoding("cl100k_base")
app.start()
app.start()
1,107 changes: 550 additions & 557 deletions modules/text/module_text_llm/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/text/module_text_llm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ athena = { path = "../../../athena", develop = true }
llm_core = { path = "../../../llm_core", develop = true }
langsmith = ">=0.1.0,<0.2.0"
gitpython = "3.1.41"
nltk = "3.8.1"
nltk = "3.9.1"
python-dotenv = "1.0.0"
tiktoken = "0.7.0"

Expand Down

0 comments on commit 454b632

Please sign in to comment.