From 6d9f89433a21645177a346c9230aaebba6684fec Mon Sep 17 00:00:00 2001 From: Prasanjeet-Microsoft Date: Wed, 7 May 2025 13:58:35 +0530 Subject: [PATCH 1/5] Added .dockerignore file to exclude unnecessary files from Docker build context (#537) --- src/.dockerignore | 162 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 src/.dockerignore diff --git a/src/.dockerignore b/src/.dockerignore new file mode 100644 index 000000000..68dc84378 --- /dev/null +++ b/src/.dockerignore @@ -0,0 +1,162 @@ +# Include any files or directories that you don't want to be copied to your +# container here (e.g., local build artifacts, temporary files, etc.). +# +# For more help, visit the .dockerignore file reference guide at +# https://docs.docker.com/engine/reference/builder/#dockerignore-file + +**/.DS_Store +**/__pycache__ +**/.venv +**/.classpath +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/bin +**/charts +**/docker-compose* +**/compose* +**/Dockerfile* +**/*.Dockerfile +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +LICENSE +README.md + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.log + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# VS Code +.vscode/ + +# Ignore other unnecessary files +*.bak +*.swp +.DS_Store +*.pdb +*.sqlite3 From b4ba302775981241b6c6af06596a1d0d4ceabdae Mon Sep 17 00:00:00 2001 From: AjitPadhi-Microsoft Date: Wed, 14 May 2025 17:12:16 +0530 Subject: [PATCH 2/5] fixed date time response issue (#542) --- src/App/backend/chat_logic_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/backend/chat_logic_handler.py b/src/App/backend/chat_logic_handler.py index 75fdc2c34..2b992d0aa 100644 --- a/src/App/backend/chat_logic_handler.py +++ b/src/App/backend/chat_logic_handler.py @@ -86,7 +86,7 @@ def greeting(self, input: Annotated[str, "the question"]) -> Annotated[str, "The answer = f"Error retrieving greeting response: {str(e)}" return answer - @kernel_function(name="ChatWithSQLDatabase", description="Given a query about client assets, investements and meeting dates or times, get details from the database based on the provided question and client id") + @kernel_function(name="ChatWithSQLDatabase", description="Given a query about client assets, investments and meeting scheduled (including upcoming or next meeting dates/times), get details from the database based on the provided question and client id") def get_SQL_Response( self, input: Annotated[str, "the question"], From 03417fe3307e9fadcaf3d8bb2965a87b6625766c Mon Sep 17 00:00:00 2001 From: Abdul-Microsoft Date: Mon, 19 May 2025 14:48:59 +0530 Subject: [PATCH 3/5] Update main.bicepparam --- infra/main.bicepparam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/main.bicepparam b/infra/main.bicepparam index b7ac77755..42c04971b 100644 --- a/infra/main.bicepparam +++ b/infra/main.bicepparam @@ -8,4 +8,4 @@ param gptDeploymentCapacity = int(readEnvironmentVariable('AZURE_ENV_MODEL_CAPAC param embeddingDeploymentCapacity = int(readEnvironmentVariable('AZURE_ENV_EMBEDDING_MODEL_CAPACITY', '80')) param AzureOpenAILocation = readEnvironmentVariable('AZURE_ENV_OPENAI_LOCATION', 'eastus2') -param AZURE_LOCATION = readEnvironmentVariable('AZURE_ENV_LOCATION', '') +param AZURE_LOCATION = readEnvironmentVariable('AZURE_LOCATION', '') From 43a464be73fe5ef9cab3f28a9cc35ef57977b5ee Mon Sep 17 00:00:00 2001 From: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com> Date: Wed, 21 May 2025 10:50:47 +0530 Subject: [PATCH 4/5] Update src/App/backend/chat_logic_handler.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/App/backend/chat_logic_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/backend/chat_logic_handler.py b/src/App/backend/chat_logic_handler.py index 2b992d0aa..f848a011f 100644 --- a/src/App/backend/chat_logic_handler.py +++ b/src/App/backend/chat_logic_handler.py @@ -86,7 +86,7 @@ def greeting(self, input: Annotated[str, "the question"]) -> Annotated[str, "The answer = f"Error retrieving greeting response: {str(e)}" return answer - @kernel_function(name="ChatWithSQLDatabase", description="Given a query about client assets, investments and meeting scheduled (including upcoming or next meeting dates/times), get details from the database based on the provided question and client id") + @kernel_function(name="ChatWithSQLDatabase", description="Given a query about client assets, investments and scheduled meetings (including upcoming or next meeting dates/times), get details from the database based on the provided question and client id") def get_SQL_Response( self, input: Annotated[str, "the question"], From cb49449fd68f68232604e0715a7dd971e618157a Mon Sep 17 00:00:00 2001 From: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com> Date: Wed, 21 May 2025 10:50:54 +0530 Subject: [PATCH 5/5] Update src/.dockerignore Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/.dockerignore | 1 - 1 file changed, 1 deletion(-) diff --git a/src/.dockerignore b/src/.dockerignore index 68dc84378..8cdbb515f 100644 --- a/src/.dockerignore +++ b/src/.dockerignore @@ -157,6 +157,5 @@ cython_debug/ # Ignore other unnecessary files *.bak *.swp -.DS_Store *.pdb *.sqlite3