feat(helm): add Helm chart for Kubernetes deployment and update DeploymentGuide

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-25 13:31:54 +00:00
parent ff96340154
commit a08bfb9f1a
19 changed files with 1424 additions and 158 deletions
+2 -5
View File
@@ -8,7 +8,6 @@ Generation) workflows by storing full document text alongside structured
metadata fields.
"""
import json
import logging
from typing import Any, Optional
@@ -112,7 +111,6 @@ def _get_or_create_index(client):
def _build_document(file_record, text: str, metadata: dict) -> dict:
"""Build a Meilisearch document from a FileRecord and extracted content."""
import json as _json
tags = metadata.get("tags", [])
if isinstance(tags, str):
@@ -123,8 +121,8 @@ def _build_document(file_record, text: str, metadata: dict) -> dict:
if file_record.created_at:
try:
created_at_ts = int(file_record.created_at.timestamp())
except Exception:
pass
except Exception as ts_exc: # noqa: BLE001
logger.debug(f"Could not convert created_at to timestamp: {ts_exc}")
return {
"file_id": file_record.id,
@@ -229,7 +227,6 @@ def search_documents(
return empty
try:
from app.config import settings
index = _get_or_create_index(client)