feat: enhance summarization and diarization features with memory logging and action item extraction

- Introduced memory snapshot logging to track resource usage during summarization and diarization processes.
- Added action item extraction capabilities from meeting segments, improving the summarization output.
- Refactored summarization and diarization mixins to integrate new logging and extraction functionalities.
- Implemented a bounded audio buffer for streaming diarization to manage memory efficiently.
- Enhanced error handling and diagnostics in summarization and diarization workflows.
This commit is contained in:
2026-01-15 14:43:59 -05:00
parent 1ce24cdf7b
commit 04fec933ac
9 changed files with 1128 additions and 575 deletions

View File

@@ -39,6 +39,10 @@ COPY . .
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --group dev --all-extras
# Install spaCy small English model for NER (baked into image)
RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
EXPOSE 50051
CMD ["sh", "-c", "uv sync --frozen --group dev --all-extras && uv run python scripts/dev_watch_server.py"]
@@ -59,6 +63,10 @@ COPY . .
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --group dev --all-extras
# Install spaCy small English model for NER (baked into image)
RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
EXPOSE 50051
CMD ["sh", "-c", "uv sync --frozen --group dev --all-extras && uv run python scripts/dev_watch_server.py"]