Skip to content
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

Explore Long Term Memory #62

Closed
abrichr opened this issue May 2, 2023 · 5 comments
Closed

Explore Long Term Memory #62

abrichr opened this issue May 2, 2023 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@abrichr
Copy link
Contributor

abrichr commented May 2, 2023

This task involves undestanding whether long term memory is necessary, and if so, building a minimum viable implementation, e.g:

pg_vector:

https://github.com/pgvector/pgvector
https://www.youtube.com/watch?v=aywZrzNaKjs&t=539s
https://news.ycombinator.com/item?id=35311113

Supabase? https://supabase.com/

Pinecone:

https://python.langchain.com/en/latest/ecosystem/pinecone.html

Weaviate

@abrichr abrichr changed the title Implement pg_vector Implement pg_vector for Long Term Memory May 2, 2023
@nhooey
Copy link
Collaborator

nhooey commented May 3, 2023

pgvector does look promising, based on this comment:

Vector database built for scalable similarity search:
bayan1234

If the vectors are in the same database as the tabular/structured data then text to sql applications of llm's are so much more powerful. The generative models will then be able to form complex queries to find similarity as well as perform aggregation, filtering and joining across datasets. To do this today with a separate dedicated vector db is quite painful. | If the vectors are in the same database as the tabular/structured data then text to sql applications of llm's are so much more powerful. The generative models will then be able to form complex queries to find similarity as well as perform aggregation, filtering and joining across datasets. To do this today with a separate dedicated vector db is quite painful.

@abrichr abrichr changed the title Implement pg_vector for Long Term Memory Implement Long Term Memory May 3, 2023
@abrichr abrichr changed the title Implement Long Term Memory Explore Long Term Memory May 3, 2023
@abrichr
Copy link
Contributor Author

abrichr commented May 4, 2023

Thank you for your recent interest in requesting support for pgvector. Thanks to your interest, Amazon RDS for PostgreSQL is pleased to announce support for pgvector.

To learn more, please see the following:

Announcement: https://aws.amazon.com/about-aws/whats-new/2023/05/amazon-rds-postgresql-pgvector-ml-model-integration/
Blog: https://aws.amazon.com/blogs/database/building-ai-powered-search-in-postgresql-using-amazon-sagemaker-and-pgvector/d
GitHub: https://github.com/pgvector/pgvector
Amazon RDS User Guide: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Extensions.html
Thanks,

The Amazon RDS for PostgreSQL team

See also pgvector/pgvector#54 (comment)

@abrichr abrichr added help wanted Extra attention is needed and removed tribe-hackathon labels May 15, 2023
@abrichr
Copy link
Contributor Author

abrichr commented Jun 23, 2023

Let's try https://github.com/asg017/sqlite-vss

@abrichr
Copy link
Contributor Author

abrichr commented Jul 4, 2023

Please check https://paperswithcode.com/ and https://scholar.google.com/ for review papers on embeddings functions, in particular for structured data.

@AvidEslami
Copy link
Collaborator

Currently, it seems that in order for us to make use of Long Term Memory we would need a distance metric more suited for our specific tasks as opposed to the defaults provided by most VectorDB.

@abrichr abrichr closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants