HNTAI / services /ai-service

Commit History

Revert "refactor(ai-service): optimize prompts, token counting, and benchmarking - Externalize system prompts to text files for better maintainability. - Integrate tiktoken for faster and more accurate token counting. - Refactor BenchmarkLogger to use asynchronous logging for zero latency impact. - Improve prompt echo removal logic with more robust markers. - Add specialized system instruction for medical document processing. - Update test expectations to reflect precise token counting."
8c76d6f

sachinchandrankallar commited on

refactor(ai-service): optimize prompts, token counting, and benchmarking - Externalize system prompts to text files for better maintainability. - Integrate tiktoken for faster and more accurate token counting. - Refactor BenchmarkLogger to use asynchronous logging for zero latency impact. - Improve prompt echo removal logic with more robust markers. - Add specialized system instruction for medical document processing. - Update test expectations to reflect precise token counting.
4f8dcad

sachinchandrankallar commited on

resolve streaming generation errors and improve robustness
7fdf84c

sachinchandrankallar commited on

changes for publishing the latest including generate_generic api
4156c57

sachinchandrankallar commited on

feat : SmartScribe HF AI API
09d457b

Adhil Krishna G commited on

bypass casual openvino logic to load the models as transformer model
22502bd

sachinchandrankallar commited on

Add WSGI entrypoint and production Dockerfile for the AI service.
21878ee

sachinchandrankallar commited on

Implement generic text generation API with streaming support and add verification scripts
cca5278

sachinchandrankallar commited on

Add prompt template utility and unit tests for chat formatting
f2cdd5b

sachinchandrankallar commited on

fix bear exceptions in unified Hugging Face Spaces deployment utilities, OpenVINO summarizer utils
cdad7c7

sachinchandrankallar commited on

Introduce AI medical extraction service with new API, agents, comprehensive testing, and documentation, while reorganizing existing scripts.
d7f1bb5

sachinchandrankallar commited on

Enhance AI service by updating token limits for Phi-3.5 models, improving model loading logic, and refining prompt formatting in patient summary documentation.
02573f7

sachinchandrankallar commited on

feat: Add utilities for robust EHR data parsing, visit delta computation, and JSON serialization.
7d8eced

sachinchandrankallar commited on

Enhance patient data processing by adding robust serialization and flattening utilities. The conversion function now captures all fields from EHR payloads, ensuring no data is lost during preprocessing. Additional logging improvements and error handling for plain text processing have been implemented.
341df53

sachinchandrankallar commited on

Add robust JSON parsing utilities for medical data with flexible key matching and normalization capabilities.
8666bb3

sachinchandrankallar commited on

Revert " Add robust JSON parsing utility for medical data with flexible key matching and data normalization."
260ef0e

sachinchandrankallar commited on

Add robust JSON parsing utility for medical data with flexible key matching and data normalization.
f9785d2

sachinchandrankallar commited on

feat: Add Colab patient summary script, AI service utilities for performance, and related documentation.
f091f7a

sachinchandrankallar commited on

h immediate queue slot release and delayed job cleanup
0447ebe

sachinchandrankallar commited on

feat: Add JobManager for asynchronous task tracking with auto-cleanup and a verification test.
56882e1

sachinchandrankallar commited on

add automatic cleanup for completed and error jobs, along with verification and demonstration tests.
403cf1c

sachinchandrankallar commited on

Revert " implement `JobManager` for thread-safe asynchronous job tracking, including creation, updates, and cleanup, with supporting demo and test files."
46d9bd9

sachinchandrankallar commited on

Revert " implement `JobManager` for thread-safe asynchronous job tracking, including creation, updates, and cleanup, with supporting demo and test files."
80f01e3

sachinchandrankallar commited on

implement `JobManager` for thread-safe asynchronous job tracking, including creation, updates, and cleanup, with supporting demo and test files.
4d3a4c9

sachinchandrankallar commited on

Revert "feat: Introduce JobManager service for tracking asynchronous tasks with automatic cleanup and add dedicated tests."
9bb9547

sachinchandrankallar commited on

feat: Introduce JobManager service for tracking asynchronous tasks with automatic cleanup and add dedicated tests.
3c1e112

sachinchandrankallar commited on

Implement comprehensive AI model configuration, including T4 optimizations, token limits, and unified model management.
19bf860

sachinchandrankallar commited on

feat: Add prompt and token diagnostics to error responses for enhanced debugging.
e944e44

sachinchandrankallar commited on

feat: Implement unified model management, centralized constants, and error handling for AI medical extraction services.
baf854e

sachinchandrankallar commited on

Revert "feat: Establish AI medical extraction service with performance optimizations, unified model management, and detailed Hugging Face Spaces deployment guides."
cdea66b

sachinchandrankallar commited on