The problem
Legal teams needed to query, generate and act on large volumes of documents, which meant handling many concurrent document operations without the system falling over.
What we built
A distributed microservices architecture in Go and Python for concurrent document processing, with a Redis Cluster caching layer for retrieval performance and Redis pub/sub driving asynchronous processing. Retrieval-augmented generation built on a vector database with function calling. Prompts for document generation, partial update and deletion were developed through dedicated research.
The result
A working legal assistant capable of querying, generating and acting on documents, with full API documentation for client and team onboarding.