Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade langchain from 0.0.274 to 0.2.10 #26

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9e9447a
update
abdulrahman305 Jun 25, 2024
3aee100
update
abdulrahman305 Jun 25, 2024
6deb887
update
abdulrahman305 Jun 25, 2024
da04579
update
abdulrahman305 Jun 25, 2024
e356d87
update
abdulrahman305 Jun 25, 2024
1d92360
update
abdulrahman305 Jun 25, 2024
3484588
update
abdulrahman305 Jun 25, 2024
6818ea4
update
abdulrahman305 Jun 25, 2024
ddcba9c
update
abdulrahman305 Jun 25, 2024
4edbf22
update
abdulrahman305 Jun 25, 2024
a62905f
update
abdulrahman305 Jun 25, 2024
b340901
update
abdulrahman305 Jun 25, 2024
13997ea
update
abdulrahman305 Jun 25, 2024
3fa56b6
Merge branch 'main' of https://github.com/abdulrahman305/ollama
abdulrahman305 Jun 26, 2024
6cd40ba
Merge branch 'ollama:main' into main
abdulrahman305 Jun 30, 2024
f995e43
Merge branch 'ollama:main' into main
abdulrahman305 Jul 4, 2024
232d48a
Merge branch 'ollama:main' into main
abdulrahman305 Jul 12, 2024
676529e
Merge branch 'ollama:main' into main
abdulrahman305 Jul 19, 2024
347ad0d
fix: upgrade multiple dependencies with Snyk
snyk-bot Jul 19, 2024
9f1820a
Merge branch 'ollama:main' into main
abdulrahman305 Jul 26, 2024
ebd18b4
fix: examples/langchain-python-rag-privategpt/requirements.txt to red…
snyk-bot Aug 16, 2024
a6c7852
fix: macapp/package.json to reduce vulnerabilities
snyk-bot Aug 16, 2024
a1824db
Merge branch 'ollama:main' into main
abdulrahman305 Aug 17, 2024
bd7a83f
Merge pull request #13 from abdulrahman305/snyk-fix-50df3b576d80926f1…
abdulrahman305 Aug 17, 2024
5dddac9
Merge pull request #12 from abdulrahman305/snyk-fix-0379cf18d00d4fb45…
abdulrahman305 Aug 17, 2024
aad7125
Bump the npm_and_yarn group across 1 directory with 4 updates
dependabot[bot] Aug 17, 2024
578e73d
Merge pull request #9 from abdulrahman305/snyk-upgrade-9c7757670f652e…
abdulrahman305 Aug 17, 2024
f6f8f54
Merge pull request #14 from abdulrahman305/dependabot/npm_and_yarn/ma…
abdulrahman305 Aug 17, 2024
81fa082
Merge branch 'ollama:main' into main
abdulrahman305 Aug 23, 2024
cbb61d5
fix: examples/langchain-python-rag-privategpt/requirements.txt to red…
snyk-bot Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DS_Store
.vscode

.env
.venv
.swp
Expand Down
11 changes: 11 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- init: go get && go build ./... && go test ./...
command: go run .


6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"ms-azuretools.vscode-azurefunctions",
"ms-python.python"
]
}
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Python Functions",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 9091
},
"preLaunchTask": "func: host start"
}
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"azureFunctions.deploySubpath": "langchaingo/milvus-sdk-go/milvus/k8sgpt-operator/milvus-helm/minio/bootcamp/applications/nlp/question_answering_system/server/src/operations",
"azureFunctions.scmDoBuildDuringDeployment": true,
"azureFunctions.projectLanguage": "Python",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
"azureFunctions.projectLanguageModel": 2,
"azureFunctions.projectSubpath": "langchaingo/milvus-sdk-go/milvus/k8sgpt-operator/milvus-helm/minio/bootcamp/applications/nlp/question_answering_system/server/src/operations"
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "func",
"label": "func: host start",
"command": "host start",
"problemMatcher": "$func-python-watch",
"isBackground": true,
"options": {
"cwd": "${workspaceFolder}/langchaingo/milvus-sdk-go/milvus/k8sgpt-operator/milvus-helm/minio/bootcamp/applications/nlp/question_answering_system/server/src/operations"
}
}
]
}
14 changes: 14 additions & 0 deletions Modelfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM codellama
SYSTEM You are a friendly assistant.
FROM codellama
SYSTEM You are a friendly assistant.
FROM codellama
SYSTEM You are a friendly assistant.
FROM milvus
SYSTEM You are a friendly assistant.
FROM milvus
SYSTEM You are a friendly assistant.
FROM milvus
SYSTEM You are a friendly assistant.
FROM milvus
SYSTEM You are a friendly assistant.
Binary file added app/.minio.sys/buckets/.bloomcycle.bin/xl.meta
Binary file not shown.
Binary file added app/.minio.sys/buckets/.usage-cache.bin.bkp/xl.meta
Binary file not shown.
Binary file added app/.minio.sys/buckets/.usage-cache.bin/xl.meta
Binary file not shown.
Binary file added app/.minio.sys/buckets/.usage.json/xl.meta
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/.minio.sys/buckets/tray/.usage-cache.bin/xl.meta
Binary file not shown.
Binary file added app/.minio.sys/config/config.json/xl.meta
Binary file not shown.
Binary file added app/.minio.sys/config/iam/format.json/xl.meta
Binary file not shown.
1 change: 1 addition & 0 deletions app/.minio.sys/format.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"1","format":"xl-single","id":"c7db1fb2-0fac-463b-bbf4-fc9ba371689c","xl":{"version":"3","this":"25cc3af5-752e-4252-8f40-5d9cc206717f","sets":[["25cc3af5-752e-4252-8f40-5d9cc206717f"]],"distributionAlgo":"SIPMOD+PARITY"}}
Binary file added app/.minio.sys/pool.bin/xl.meta
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions examples/langchain-python-rag-privategpt/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
langchain==0.0.274
langchain==0.2.10
gpt4all==1.0.8
chromadb==0.4.7
llama-cpp-python==0.1.81
Expand All @@ -12,4 +12,5 @@ pandoc==2.3
pypandoc==1.11
tqdm==4.66.1
sentence_transformers==2.2.2
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
nltk>=3.8.2 # not directly required, pinned by Snyk to avoid a vulnerability
1 change: 1 addition & 0 deletions langchaingo
Submodule langchaingo added at 7eb662
58 changes: 29 additions & 29 deletions macapp/package-lock.json

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

6 changes: 3 additions & 3 deletions macapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/core": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@electron-forge/cli": "^6.2.1",
"@electron-forge/maker-deb": "^6.2.1",
"@electron-forge/maker-rpm": "^6.2.1",
Expand All @@ -46,7 +46,7 @@
"chmodr": "^1.2.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"electron": "25.9.2",
"electron": "31.4.0",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"fork-ts-checker-webpack-plugin": "^7.3.0",
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

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

Loading