Skip to content

Conversation

ViliTajnic
Copy link

…166)

Add comprehensive functionality to automatically refresh vector stores when documents are added or modified in OCI Object Storage buckets while preserving original embedding parameters.

Key features:

  • Change detection using object metadata (etag, time_modified)
  • Parameter preservation from existing vector stores
  • Incremental processing of only new/modified files
  • New REST API endpoint for refresh operations
  • Comprehensive status reporting

Files modified:

  • common/schema.py: Add VectorStoreRefreshRequest and VectorStoreRefreshStatus schemas
  • server/api/utils/oci.py: Add get_bucket_objects_with_metadata() and detect_changed_objects()
  • server/api/utils/embed.py: Add refresh functionality with get_vector_store_by_alias(), get_processed_objects_metadata(), and refresh_vector_store_from_bucket()
  • server/api/v1/embed.py: Add POST /v1/embed/refresh endpoint

)

Add comprehensive functionality to automatically refresh vector stores when
documents are added or modified in OCI Object Storage buckets while preserving
original embedding parameters.

Key features:
- Change detection using object metadata (etag, time_modified)
- Parameter preservation from existing vector stores
- Incremental processing of only new/modified files
- New REST API endpoint for refresh operations
- Comprehensive status reporting

Files modified:
- common/schema.py: Add VectorStoreRefreshRequest and VectorStoreRefreshStatus schemas
- server/api/utils/oci.py: Add get_bucket_objects_with_metadata() and detect_changed_objects()
- server/api/utils/embed.py: Add refresh functionality with get_vector_store_by_alias(),
  get_processed_objects_metadata(), and refresh_vector_store_from_bucket()
- server/api/v1/embed.py: Add POST /v1/embed/refresh endpoint
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Sep 18, 2025
@ViliTajnic ViliTajnic force-pushed the enhancement/vector-store-auto-refresh branch from ed8599e to f3f0b13 Compare September 26, 2025 08:14
corradodebari and others added 13 commits September 26, 2025 10:17
to use last minimal SpringBoot version and the sys prompt defined for vector search.
Signed-off-by: Christopher Jones <christopher.jones@oracle.com>
* Added Unit Tests
* Updated Documents
* Updated Images
* Shift pyproject.toml
* Expose FastMCP endpoints
Add reference to the new auto-refresh vector store functionality from OCI Object Storage buckets feature in the AI Optimizer Features section.
@ViliTajnic ViliTajnic force-pushed the enhancement/vector-store-auto-refresh branch from f3f0b13 to 7e4fbfd Compare September 26, 2025 08:19
@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels Sep 26, 2025
@gotsysdba gotsysdba self-assigned this Oct 9, 2025
@gotsysdba gotsysdba marked this pull request as draft October 9, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants