{"id":13877510,"url":"https://github.com/timescale/vector-cookbook","last_synced_at":"2025-05-07T04:58:49.444Z","repository":{"id":176408853,"uuid":"656383077","full_name":"timescale/vector-cookbook","owner":"timescale","description":"Timescale Vector Cookbook. A collection of recipes to build applications with LLMs using PostgreSQL and Timescale Vector.","archived":false,"fork":false,"pushed_at":"2025-01-06T13:46:40.000Z","size":8942,"stargazers_count":119,"open_issues_count":9,"forks_count":46,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-07T04:58:43.050Z","etag":null,"topics":["approximate-nearest-neighbor-search","langchain","llamaindex","llm","nearest-neighbor-search","pgvector","postgresql","python","tutorials","vector-database","vector-search","vector-similarity"],"latest_commit_sha":null,"homepage":"https://www.timescale.com/ai","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timescale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-20T20:59:01.000Z","updated_at":"2025-04-08T21:18:33.000Z","dependencies_parsed_at":"2024-11-24T06:31:12.370Z","dependency_job_id":null,"html_url":"https://github.com/timescale/vector-cookbook","commit_stats":null,"previous_names":["timescale/vector-cookbook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fvector-cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fvector-cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fvector-cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fvector-cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/vector-cookbook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816948,"owners_count":21808704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["approximate-nearest-neighbor-search","langchain","llamaindex","llm","nearest-neighbor-search","pgvector","postgresql","python","tutorials","vector-database","vector-search","vector-similarity"],"created_at":"2024-08-06T08:01:04.322Z","updated_at":"2025-05-07T04:58:49.425Z","avatar_url":"https://github.com/timescale.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# Timescale Vector Cookbook\nA collection of recipes and sample application starter kits to build with LLMs using PostgreSQL and Timescale Vector.\n\nLearn more about Timescale Vector, PostgreSQL++ for AI applications: [timescale.com/ai](https://www.timescale.com/ai)\n\nSign up for a [free cloud PostgreSQL database](https://console.cloud.timescale.com/signup?utm_campaign=vectorlaunch\u0026utm_source=github\u0026utm_medium=direct) to use to work thru the examples in this repo. You'll get 90 days free by signing up with the link above.\n\n## Timescale Vector Resources\nTimescale Vector enables you to power AI applications using PostgreSQL to store vector, relational and time-series data. It enhances pgvector with faster search, higher recall, and more efficient time-based filtering.\n- [Overview and Performance Benchmarks](https://www.timescale.com/blog/how-we-made-postgresql-the-best-vector-database/?utm_campaign=vectorlaunch\u0026utm_source=github\u0026utm_medium=direct)\n- [Timescale Vector LangChain Integration](https://python.langchain.com/docs/integrations/vectorstores/timescalevector)\n- [Timescale Vector LlamaIndex Integration](https://gpt-index.readthedocs.io/en/stable/examples/vector_stores/Timescalevector.html)\n- [Timescale Vector Python Client Library](https://github.com/timescale/python-vector)\n- [Timescale Vector Python Tutorial](https://github.com/timescale/python-vector/blob/main/nbs/tsv_python_getting_started_tutorial.ipynb)\n\n## Sample Applications\n- [TSV Time Machine](https://github.com/timescale/vector-cookbook/tree/main/tsv_timemachine): Chat with git the commit history of any repo. Stack: LlamaIndex, Streamlit, Timescale Vector (PostgreSQL), Python. [Live demo](https://pg-timemachine.streamlit.app/TimeMachine_Demo)\n\n## PGVector Resources\n- [Create, store and query OpenAI embeddings with PostgreSQL and pgvector](https://github.com/timescale/vector-cookbook/tree/main/openai_pgvector_helloworld)\n- [Nearest Neighbor Indexes: What Are ivfflat Indexes in pgvector and How Do They Work](https://www.timescale.com/blog/nearest-neighbor-indexes-what-are-ivfflat-indexes-in-pgvector-and-how-do-they-work/)\n- [Introduction to LangChain for LLM applications using pgvector as a vectorstore](https://github.com/timescale/vector-cookbook/tree/main/intro_langchain_pgvector)\n\nNote: If you need to setup Python, pyenv and Jupyter on your Mac, follow [this handy tutorial](https://www.timescale.com/blog/jupyter-notebook-tutorial-setup-python-and-jupyter-notebooks-macos/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fvector-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Fvector-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fvector-cookbook/lists"}