{"data":{"slug":"danny-avila-rag-api","name":"rag_api","tagline":"ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector","github_url":"https://github.com/danny-avila/rag_api","owner":"danny-avila","repo":"rag_api","owner_avatar_url":"https://avatars.githubusercontent.com/u/110412045?v=4","primary_language":"Python","stars":863,"forks":376,"topics":["api","api-rest","embeddings","fastapi","langchain","pgvector","postgresql","psql","python","rag","vector","vector-database"],"archived":false,"github_pushed_at":"2026-06-18T21:40:14+00:00","maintenance_label":"Active","url":"https://www.graphcanon.com/tools/danny-avila-rag-api","markdown_url":"https://www.graphcanon.com/tools/danny-avila-rag-api.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/danny-avila-rag-api","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=danny-avila-rag-api","description":"ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector","homepage_url":"https://librechat.ai/","license":"MIT","open_issues":44,"watchers":7,"ai_summary":"A FastAPI-based API for ID-based retrieval-augmented generation (RAG) systems, integrated with Langchain and using PostgreSQL/pgvector as the vector database.","readme_excerpt":null,"github_created_at":"2024-03-17T12:20:35+00:00","created_at":"2026-07-11T11:27:02.411328+00:00","updated_at":"2026-07-11T22:33:20.958432+00:00","categories":[{"slug":"data-retrieval","name":"Data & Retrieval","url":"https://www.graphcanon.com/categories/data-retrieval","markdown_url":"https://www.graphcanon.com/categories/data-retrieval.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/data-retrieval"},{"slug":"vector-databases","name":"Vector Databases","url":"https://www.graphcanon.com/categories/vector-databases","markdown_url":"https://www.graphcanon.com/categories/vector-databases.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/vector-databases"}],"tags":[{"slug":"postgresql","name":"postgresql"},{"slug":"psql","name":"psql"},{"slug":"embeddings","name":"embeddings"},{"slug":"fastapi","name":"fastapi"},{"slug":"api","name":"api"},{"slug":"langchain","name":"langchain"},{"slug":"pgvector","name":"pgvector"},{"slug":"api-rest","name":"api-rest"}],"trust":{"provenance":{"is_fork":false,"github_id":773345074,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T11:27:02.965Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":null,"days_since_push":22,"last_release_at":null},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:27:03.477Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T22:33:20.864Z"},"deploy":{"source":"dockerfile:Dockerfile","self_host":true,"observed_at":"2026-07-11T22:33:20.864Z","managed_saas":false},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-07-11T22:33:20.864Z"},"has_docker":{"value":true,"source":"dockerfile:Dockerfile","observed_at":"2026-07-11T22:33:20.864Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-07-11T22:33:20.864Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["When you need rapid integration of REST API services for Retrieval-Augmented Generation (RAG) with robust vector storage.","If your use case benefits from the efficiency of PostgreSQL/pgvector combination, where scalable vector search operations are required."],"when_not_to_use":["Avoid using if your project cannot leverage PostgreSQL/pgvector due to license or compatibility constraints.","Not recommended for scenarios where high-level orchestration of multiple APIs and services is necessary without a direct need for FastAPI's simplicity."],"source":"enrich:decision_facts","observed_at":"2026-07-11T20:49:08.428Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Key Insights for Using rag_api as an ID-based RAG FastAPI Tool with Langchain and PostgreSQL/pgvector Integration"}]}}