https://github.com/dgapitts/learning-pgvector
scripts and notes while learning about pgVector
https://github.com/dgapitts/learning-pgvector
Last synced: 10 months ago
JSON representation
scripts and notes while learning about pgVector
- Host: GitHub
- URL: https://github.com/dgapitts/learning-pgvector
- Owner: dgapitts
- Created: 2024-07-26T13:13:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T10:37:03.000Z (over 1 year ago)
- Last Synced: 2025-02-26T08:32:52.406Z (over 1 year ago)
- Language: Python
- Size: 2.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Getting started
First question to ChatGPT was
> How do I get started with pgVector and learning about AI.
and this lead to
* [step 0 - base install](bin/step0-base-install.sh)
* [step 1 - first steps with ORDER-BY embedding](bin/step1-first-steps-ORDER-BY-embedding.sh)
### Background sqlalchemy
* [sqlalchemy-setup](docs/010-sqlalchemy-setup.md)
* [sqlalchemy-crud-operations](docs/020-sqlalchemy-crud-operations.md)
### Tests
* [Barcelona PUG Nov-2024 - Vectors Storage Challenges](docs/100-Barcelona_PUG_Nov-2024_Vectors-Storage-Challenges.md)
### Brew notes
* first the `bin/step0-base-install.sh` work on linux and macosx, including pg installed via brew
* brew service commands - note `info` instead of `status`
```
brew services info postgresql@16
brew services start postgresql@16
brew services restart postgresql@16
brew services stop postgresql@16
```
you can all use `pg_ctl`
```
/opt/homebrew/opt/postgresql@16/bin/pg_ctl stop -D /opt/homebrew/var/postgresql@16
```