diff --git a/.gitignore b/.gitignore index cf9aa89..e83f559 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env __pycache__ -logs \ No newline at end of file +logs +.idea \ No newline at end of file diff --git a/.idea/copilot/chatSessions/00000000000.xd b/.idea/copilot/chatSessions/00000000000.xd deleted file mode 100644 index 50e9ae8..0000000 Binary files a/.idea/copilot/chatSessions/00000000000.xd and /dev/null differ diff --git a/.idea/copilot/chatSessions/blobs/version b/.idea/copilot/chatSessions/blobs/version deleted file mode 100644 index 720d64f..0000000 Binary files a/.idea/copilot/chatSessions/blobs/version and /dev/null differ diff --git a/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28__01_08__Changes_1.xml b/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28__01_08__Changes_1.xml deleted file mode 100644 index be459d2..0000000 --- a/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28__01_08__Changes_1.xml +++ /dev/null @@ -1,4 +0,0 @@ - - \ No newline at end of file diff --git "a/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28_\344\270\213\345\215\210_01_08_[Changes]1/shelved.patch" "b/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28_\344\270\213\345\215\210_01_08_[Changes]1/shelved.patch" deleted file mode 100644 index 3a2732f..0000000 --- "a/.idea/shelf/Uncommitted_changes_before_Checkout_at_2024_3_28_\344\270\213\345\215\210_01_08_[Changes]1/shelved.patch" +++ /dev/null @@ -1,123 +0,0 @@ -Index: .vscode/settings.json -IDEA additional info: -Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP -<+>{\r\n \"python.analysis.extraPaths\": [\r\n \"./src\"\r\n ],\r\n \"[python]\": {\r\n \"editor.defaultFormatter\": \"ms-python.black-formatter\",\r\n \"editor.rulers\": [100],\r\n \"editor.formatOnSave\": true,\r\n \"editor.codeActionsOnSave\": {\r\n \"source.fixAll.ruff\": true,\r\n \"source.organizeImports.ruff\": true,\r\n },\r\n \"editor.formatOnType\": true\r\n }\r\n}\r\n -Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP -<+>UTF-8 -=================================================================== -diff --git a/.vscode/settings.json b/.vscode/settings.json ---- a/.vscode/settings.json -+++ b/.vscode/settings.json -@@ -7,8 +7,8 @@ - "editor.rulers": [100], - "editor.formatOnSave": true, - "editor.codeActionsOnSave": { -- "source.fixAll.ruff": true, -- "source.organizeImports.ruff": true, -+ "source.fixAll.ruff": "explicit", -+ "source.organizeImports.ruff": "explicit" - }, - "editor.formatOnType": true - } -Index: .idea/inspectionProfiles/profiles_settings.xml -=================================================================== -diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml -new file mode 100644 ---- /dev/null -+++ b/.idea/inspectionProfiles/profiles_settings.xml -@@ -0,0 +1,6 @@ -+ -+ -+ -+ -Index: .idea/vcs.xml -=================================================================== -diff --git a/.idea/vcs.xml b/.idea/vcs.xml -new file mode 100644 ---- /dev/null -+++ b/.idea/vcs.xml -@@ -0,0 +1,6 @@ -+ -+ -+ -+ -+ -+ -Index: pyproject.toml -IDEA additional info: -Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP -<+>[tool.poetry]\r\nname = \"langchain-linebot\"\r\nversion = \"0.1.0\"\r\ndescription = \"A LineBot implemented using LangChain, featuring conversation isolation and memory, and implemented using clean architecture for practice.\"\r\nauthors = [\"Justin Xiao \"]\r\nlicense = \"MIT license\"\r\nreadme = \"README.md\"\r\n\r\n[tool.poetry.dependencies]\r\npython = \"^3.10\"\r\ncerberus = \"^1.3.5\"\r\nflask = \"^2.3.3\"\r\nflask-sqlalchemy = \"^3.1.1\"\r\nlangchain = \"^0.0.301\"\r\nline-bot-sdk = \"^3.5.0\"\r\nmarshmallow = \"^3.20.1\"\r\npydantic = \"^2.4.0\"\r\npython-dotenv = \"^1.0.0\"\r\nsqlalchemy = \"^2.0.21\"\r\nwerkzeug = \"^2.3.7\"\r\nyfinance = \"^0.2.30\"\r\npsycopg2 = \"^2.9.7\"\r\nopenai = \"^0.28.0\"\r\ntiktoken = \"^0.5.1\"\r\ngoogle-search-results = \"^2.4.2\"\r\n\r\n[tool.poetry.group.dev.dependencies]\r\npytest = \"^7.4.2\"\r\npytest-cov = \"^4.1.0\"\r\npytest-cover = \"^3.0.0\"\r\npytest-coverage = \"^0.0\"\r\npytest-flask = \"^1.2.0\"\r\npytest-mock = \"^3.11.1\"\r\n\r\n[build-system]\r\nrequires = [\"poetry-core\"]\r\nbuild-backend = \"poetry.core.masonry.api\"\r\n\r\n# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html\r\n[tool.black]\r\nline-length = 100\r\n\r\n# https://beta.ruff.rs/docs/settings/\r\n[tool.ruff]\r\nline-length = 100\r\n# https://beta.ruff.rs/docs/rules/\r\nselect = [\"E\", \"W\", \"F\"]\r\nignore = [\"F401\", \"E501\"]\r\n# Exclude a variety of commonly ignored directories.\r\nrespect-gitignore = true\r\nignore-init-module-imports = true\r\n -Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP -<+>UTF-8 -=================================================================== -diff --git a/pyproject.toml b/pyproject.toml ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -7,7 +7,7 @@ - readme = "README.md" - - [tool.poetry.dependencies] --python = "^3.10" -+python = "3.8.17" - cerberus = "^1.3.5" - flask = "^2.3.3" - flask-sqlalchemy = "^3.1.1" -Index: .idea/.gitignore -=================================================================== -diff --git a/.idea/.gitignore b/.idea/.gitignore -new file mode 100644 ---- /dev/null -+++ b/.idea/.gitignore -@@ -0,0 +1,10 @@ -+# Default ignored files -+/shelf/ -+/workspace.xml -+# Editor-based HTTP Client requests -+/httpRequests/ -+# Datasource local storage ignored files -+/dataSources/ -+/dataSources.local.xml -+# GitHub Copilot persisted chat sessions -+/copilot/chatSessions -Index: .idea/yuwen-yorozuya-linebot.iml -=================================================================== -diff --git a/.idea/yuwen-yorozuya-linebot.iml b/.idea/yuwen-yorozuya-linebot.iml -new file mode 100644 ---- /dev/null -+++ b/.idea/yuwen-yorozuya-linebot.iml -@@ -0,0 +1,17 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -\ No newline at end of file -Index: .idea/modules.xml -=================================================================== -diff --git a/.idea/modules.xml b/.idea/modules.xml -new file mode 100644 ---- /dev/null -+++ b/.idea/modules.xml -@@ -0,0 +1,8 @@ -+ -+ -+ -+ -+ -+ -+ -+ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 16722f4..7cbe1da 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,11 +4,9 @@