-
Notifications
You must be signed in to change notification settings - Fork 560
feat: PostgreSQL implementation for Chat History and Vectorization #1512
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
Merged
Merged
Changes from 148 commits
Commits
Show all changes
164 commits
Select commit
Hold shift + click to select a range
c5f069f
add postgressql lib
Fr4nc3 4fa9aa9
Create postgresdbservice.py
Fr4nc3 42eca2e
update ayncgp lib
Fr4nc3 42f66b9
add psycopg2 to poetry
Fr4nc3 1db0d65
User Story 10379: Refactor: Group Azure Blob Storage and Form Recogni…
87f557e
Update app_config.py to fix testcase failure
Pavan-Microsoft 84817a4
Merge pull request #29 from Fr4nc3/PSL-US-10379
Fr4nc3 2293dd6
Merge remote-tracking branch 'upstream/main'
Fr4nc3 52abaa3
readme update for Group Azure Blob Storage and Form Recognizer Config…
857e7c9
Update LOCAL_DEPLOYMENT.md
Pavan-Microsoft 3557a00
Update TEAMS_LOCAL_DEPLOYMENT.md
Pavan-Microsoft b25b585
Update .env.sample
Pavan-Microsoft 28e2513
User Story 10017: Configure Environment Variables for Database Connec…
055ef0d
DATABASE_TYPE
bd5bc09
Merge pull request #31 from Fr4nc3/PSL-US-10017
Fr4nc3 d55b3b4
Merge pull request #30 from Fr4nc3/PSL-US-10379
Fr4nc3 f743e54
Merge remote-tracking branch 'upstream/main'
Fr4nc3 0bee336
Update poetry.lock
Fr4nc3 428130e
Load Respective Database Class Dynamically - either CosmosDB or Postg…
a3d4b2b
Merge pull request #32 from Fr4nc3/PSL-US-10020
Fr4nc3 3a60e6f
Error handling and close conversation
1012e82
alignment fix
bde750a
Set Default Configuration to CosmosDB
c05ce19
Merge pull request #33 from Fr4nc3/PSL-US-10020
Fr4nc3 ed1327e
postgress table scripts
Fr4nc3 05f386c
Update create_tables.py
Fr4nc3 b1f73fc
Merge remote-tracking branch 'upstream/main'
Fr4nc3 055cd04
Restrict Admin Dashboard Options for PostgreSQL Deployment
73c690c
added postgres option
gpickett 5eb0513
updated main.json
gpickett 58a60e0
updated oneclick deploy
gpickett 8cfd276
updated oneclick
gpickett f6a9fe2
fixed oneclick again
gpickett a3e1d62
Configure Admin Options Based on PostgreSQL Selection
682e5d7
scaffolder for postgress create search vectors
Fr4nc3 f42141d
Merge pull request #34 from Fr4nc3/PSL-US-10754
Fr4nc3 70296f6
format code
Fr4nc3 8e05301
Implement retrieve Index Functionality in PostgreSQL - structure
7e0756d
Merge pull request #35 from Fr4nc3/PSL-US-10501
Fr4nc3 fb1e6b2
changed allowIps to false
gpickett b9e4875
rebuilt main.json
gpickett c673261
create scalfold for insert vector to postgress
Fr4nc3 4cc9507
Create index and retrieve index changes
942220b
format fix
34f1702
Merge pull request #36 from Fr4nc3/PSL-US-10501_1
Fr4nc3 6339d4f
Merge remote-tracking branch 'upstream/main'
Fr4nc3 9ab4539
Update poetry.lock
Fr4nc3 4d34296
update type with enums
Fr4nc3 d077183
Update create_postgres_tables.py
Fr4nc3 a997f89
Delete PostgreSQL Search Indexes When Files Are Deleted
fa2276d
Set up a limit for postgres query results using an environment variable
ab37eae
Code fix: Deploymen issue on adding Postgres details to keyvault
Prajwal-Microsoft f0f07d6
Set default DB as Cosmos
Prajwal-Microsoft baa2128
Merge pull request #39 from Fr4nc3/PSL-US-10973
Fr4nc3 e9e097e
Merge pull request #38 from Fr4nc3/postgresBicepChanges
Fr4nc3 06516c0
Merge remote-tracking branch 'upstream/main'
Fr4nc3 1fa7709
Updated Default values and removed Chat history flag from deployment
Prajwal-Microsoft ea07332
Merge remote-tracking branch 'origin/main' into bicepdefaults
Prajwal-Microsoft 5aad9cb
Default values set
Prajwal-Microsoft 84f56b9
Added changes for running Python script
Prajwal-Microsoft 658cf3c
Added requirements.txt
Prajwal-Microsoft 5379ef1
Updated requirements.txt
Prajwal-Microsoft a7a4bbb
Updated requirements.txt
Prajwal-Microsoft 3f1cacf
Updated requiremnts.txt
Prajwal-Microsoft 2b1670e
Updated script
Prajwal-Microsoft baaacd8
Updated requirements.txt
Prajwal-Microsoft 23249be
Retrieve PostgreSQL Search Indexes When Exploring Uploaded Files
7305b6a
Merge pull request #40 from Fr4nc3/PSL-US-10974
Fr4nc3 6a73dd1
Added IP whitelisting of depliyment environment
Prajwal-Microsoft ef034f5
Updated script
Prajwal-Microsoft b2d6fcd
Updated the command to get IP
Prajwal-Microsoft f8d6a9b
Updated the Script to add ip
Prajwal-Microsoft c5d94f3
Added the rule name
Prajwal-Microsoft 6804348
Update env_helper.py
Pavan-Microsoft 6267998
Updated the Script with correct values
Prajwal-Microsoft e9f7c9d
Added code to run the Postgre SQL script
Prajwal-Microsoft e3eb512
Updated the Wai function
Prajwal-Microsoft 4019078
Updated the main.json with latest changes
Prajwal-Microsoft 363d4f9
Merge remote-tracking branch 'origin/main' into bicepdefaults
Prajwal-Microsoft 996daea
Merge branch 'main' into latestmainbranch
Prajwal-Microsoft 7c38f12
Merge pull request #42 from Fr4nc3/latestmainbranch
Pavan-Microsoft 0506634
Merge remote-tracking branch 'origin/main' into bicepdefaults
Prajwal-Microsoft 9a173fd
Merge issue fix
Prajwal-Microsoft 7fc608d
fix: Lint issue
Prajwal-Microsoft 185efe1
Merge pull request #41 from Fr4nc3/bicepdefaults
Fr4nc3 2ee0beb
Added Role based assignment to connect to db for web app
Prajwal-Microsoft 4e9d5ab
Added dependencies
Prajwal-Microsoft 68a968f
Disable Computer Vision Client & Disable Integrated Vectorization Whe…
e54f13e
Modified the script
Prajwal-Microsoft 0b841c1
Fix: Added Principal to DB
Prajwal-Microsoft 9079910
Fix: Added Managed identity to DB
Prajwal-Microsoft 07ef813
fix: Modified the paramater
Prajwal-Microsoft 110d666
fix: parameter changes
Prajwal-Microsoft d697cd6
test: for connectivity with aad
Prajwal-Microsoft 5ab585b
fix: access token issue
Prajwal-Microsoft cd74dfd
Updated script
Prajwal-Microsoft 6dace10
Merge remote-tracking branch 'origin/main' into bicepdefaults
Prajwal-Microsoft 5f29e5b
fix: Updates script to run with managed identity
Prajwal-Microsoft 76ad443
Merge pull request #44 from Fr4nc3/PSL-US-10919_1
Fr4nc3 0119f94
Merge remote-tracking branch 'origin/main' into bicepdefaults
Prajwal-Microsoft c9fe9ef
Updated code for testing
Prajwal-Microsoft 9b0ae47
Test script
Prajwal-Microsoft 56963f9
Merge pull request #45 from Fr4nc3/bicepdefaults
Fr4nc3 8d434f7
Added Function app to DB
Prajwal-Microsoft 029054c
fix: Updated python script
Prajwal-Microsoft f392082
Commented PG_DISKANN as it is not available currently
Prajwal-Microsoft 1887f64
Unit Testcase Chathistory
36a29f6
Code changes to test E2E functionality
Prajwal-Microsoft 63c16ad
fix: Script issue & code refactoring
Prajwal-Microsoft 3354762
Unit Testing for Chat History Functionality - Utilities
270386c
Mock default credentials
6198de7
mock default credentials
1dcde97
Changed from PG_DISAKNN to Vector
Prajwal-Microsoft 11d78d0
Set PostgreSQL as the Default Database for CWYD Deployment & unittest…
dbba588
fix DATABASE_TYPE for testcases
dfb2fe6
fix boolean value
0e11306
fix testcase
5c7b01b
Reverted changes and Index option changed
Prajwal-Microsoft 921b7e6
Added Main.json file
Prajwal-Microsoft 6215f18
Merge pull request #47 from Fr4nc3/bicepdefaults
Fr4nc3 4241491
Merge remote-tracking branch 'origin/main' into PSL-US-10881
Prajwal-Microsoft a66e9ca
Merge pull request #46 from Fr4nc3/PSL-US-10881
Pavan-Microsoft 9c23afa
fix env issue
412db17
Merge pull request #48 from Fr4nc3/PSL-US-10972
Fr4nc3 7d78aab
Updated the base url based on fork branch
Prajwal-Microsoft 552355d
Merge pull request #49 from Fr4nc3/bicepdefaults
Pavan-Microsoft fc602e2
Updated base URL
Prajwal-Microsoft 78a1eb8
Merge pull request #50 from Fr4nc3/bicepdefaults
Pavan-Microsoft 23a8211
Update README.md
Prajwal-Microsoft 24da885
Updated script to change the table owner
Prajwal-Microsoft 9bac583
Merge pull request #51 from Fr4nc3/bicepdefaults
Pavan-Microsoft 63eadfa
Merge branch 'main' into PSL-Latest-AzureSamples
Pavan-Microsoft c02aa20
Merge pull request #52 from Azure-Samples/PSL-Latest-AzureSamples
Fr4nc3 d741e7b
Create postgreSQL.md
Fr4nc3 30c6acf
Updated the container and version for 1 click deployment verification
Prajwal-Microsoft b0093ed
Merge pull request #53 from Fr4nc3/bicepdefaults
Fr4nc3 404de03
feat: Updated the script to remove keyvault dependency
Prajwal-Microsoft 9aa57b4
Merge branch 'main' of https://github.com/Fr4nc3/chat-with-your-data-…
Prajwal-Microsoft 49314ba
fix: passing server deails to deployment script
Prajwal-Microsoft 396b68b
fix: For database type of Cosmos DB
Prajwal-Microsoft d4fa94c
fix delete page issue
da13aa7
Merge pull request #54 from Fr4nc3/psl-postgresbugfix
Fr4nc3 9b91c96
update db to enum values
Fr4nc3 b2c199e
updte postgreSQL vector table name in the documents, and update document
Fr4nc3 2a253ae
Update postgreSQL.md
Fr4nc3 3225ce2
Merge branch 'main' into Downmerge_1012
4642e36
Merge pull request #55 from Fr4nc3/Downmerge_1012
Pavan-Microsoft fbfb1ad
Update architrecture_pg.png
Fr4nc3 d05be4d
fix for Reference is shown multiple times for every sentence in respo…
a617433
Update baseURL
8a5ea7c
Add info for conversationFlow & Orchestration strategy for postgres i…
6567a3d
Update Registry name
e61dfc9
Merge pull request #56 from Fr4nc3/PSL-BUG-11349_1
Fr4nc3 6c42b28
Update Onclick deployment link
Pavan-Microsoft 207c814
Set COSMOSDB as the default for missing DATABASE_TYPE to ensure compa…
d6cc15a
Merge pull request #57 from Fr4nc3/PSL-BUG-11349_2
Fr4nc3 7f139e1
update readme and position of database
Fr4nc3 46d1440
quick update to readme to get the template screenshot
Fr4nc3 19ce95c
add database selection
Fr4nc3 194ad6d
remove characters
Fr4nc3 f4c400a
rollback to the main repo endpoint
Fr4nc3 ccd685d
update architecture files
Fr4nc3 92e97fb
Update db_selection.png
Fr4nc3 70634b3
Update README.md
Fr4nc3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.