Skip to content

Conversation

AICrafterZheng
Copy link

Description

We need a RAG solution for on-prem deployments. The current pipeline storage options (Cosmos DB and Blob Storage) do not support on-prem environments, and we want to avoid storing the graph in files or memory. To address this, I added support for PostgreSQL as a storage option, providing an additional way to persist graphs.

Related Issues

#1679

Proposed Changes

  1. Implemented a PostgreSQL storage pipeline, following the same design pattern as cosmosdb_pipeline_storage.py and file_pipeline_storage.py.
  2. Because id serves as the primary key in PostgreSQL tables, it is explicitly included in the graph during initialization.

Checklist

  • I have tested these changes locally.
  • I have reviewed the code changes.
  • I have updated the documentation (if necessary).
  • I have added appropriate unit tests (if applicable).

Additional Notes

[Add any additional notes or context that may be helpful for the reviewer(s).]

@AICrafterZheng AICrafterZheng requested a review from a team as a code owner September 3, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant