forked from microsoft/autogen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PGVector Support for Custom Connection Object (microsoft#2566)
* Added fixes and tests for basic auth format * User can provide their own connection object. Added test for it. * Updated instructions on how to use. Fully tested all 3 authentication methods successfully. * Get password from gitlab secrets. * Hide passwords. * Update notebook/agentchat_pgvector_RetrieveChat.ipynb Co-authored-by: Li Jiang <[email protected]> * Hide passwords. * Added connection_string test. 3 tests total for auth. * Fixed quotes on db config params. No other changes found. * Ran notebook * Ran pre-commits and updated setup to include psycopg[binary] for windows and mac. * Corrected list extension. * Separate connection establishment function. Testing pending. * Fixed pgvectordb auth * Update agentchat_pgvector_RetrieveChat.ipynb Added autocommit=True in example * Rerun notebook --------- Co-authored-by: Li Jiang <[email protected]> Co-authored-by: Li Jiang <[email protected]>
- Loading branch information
1 parent
aad6a28
commit 40ee011
Showing
5 changed files
with
313 additions
and
398 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,91 @@ | ||
# Source code | ||
*.bash text eol=lf | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.coffee text | ||
*.css text diff=css eol=lf | ||
*.htm text diff=html eol=lf | ||
*.html text diff=html eol=lf | ||
*.inc text | ||
*.ini text | ||
*.js text | ||
*.json text eol=lf | ||
*.jsx text | ||
*.less text | ||
*.ls text | ||
*.map text -diff | ||
*.od text | ||
*.onlydata text | ||
*.php text diff=php | ||
*.pl text | ||
*.ps1 text eol=crlf | ||
*.py text diff=python eol=lf | ||
*.rb text diff=ruby eol=lf | ||
*.sass text | ||
*.scm text | ||
*.scss text diff=css | ||
*.sh text eol=lf | ||
.husky/* text eol=lf | ||
*.sql text | ||
*.styl text | ||
*.tag text | ||
*.ts text | ||
*.tsx text | ||
*.xml text | ||
*.xhtml text diff=html | ||
|
||
# Docker | ||
Dockerfile text eol=lf | ||
|
||
# Documentation | ||
*.ipynb text | ||
*.markdown text diff=markdown eol=lf | ||
*.md text diff=markdown eol=lf | ||
*.mdwn text diff=markdown eol=lf | ||
*.mdown text diff=markdown eol=lf | ||
*.mkd text diff=markdown eol=lf | ||
*.mkdn text diff=markdown eol=lf | ||
*.mdtxt text eol=lf | ||
*.mdtext text eol=lf | ||
*.txt text eol=lf | ||
AUTHORS text eol=lf | ||
CHANGELOG text eol=lf | ||
CHANGES text eol=lf | ||
CONTRIBUTING text eol=lf | ||
COPYING text eol=lf | ||
copyright text eol=lf | ||
*COPYRIGHT* text eol=lf | ||
INSTALL text eol=lf | ||
license text eol=lf | ||
LICENSE text eol=lf | ||
NEWS text eol=lf | ||
readme text eol=lf | ||
*README* text eol=lf | ||
TODO text | ||
|
||
# Configs | ||
*.cnf text eol=lf | ||
*.conf text eol=lf | ||
*.config text eol=lf | ||
.editorconfig text | ||
.env text eol=lf | ||
.gitattributes text eol=lf | ||
.gitconfig text eol=lf | ||
.htaccess text | ||
*.lock text -diff | ||
package.json text eol=lf | ||
package-lock.json text eol=lf -diff | ||
pnpm-lock.yaml text eol=lf -diff | ||
.prettierrc text | ||
yarn.lock text -diff | ||
*.toml text eol=lf | ||
*.yaml text eol=lf | ||
*.yml text eol=lf | ||
browserslist text | ||
Makefile text eol=lf | ||
makefile text eol=lf | ||
|
||
# Images | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
*.jpg filter=lfs diff=lfs merge=lfs -text | ||
*.jpeg filter=lfs diff=lfs merge=lfs -text |
This file contains 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.