Global people operations assistant

Summary

Policy and HR workflows across multiple jurisdictions.

HR teams needed to find relevant policies and prepare documents across countries, languages and internal systems.

An assistant combining policy retrieval, document drafting and HRIS integrations, with role-based access, PII masking and audit records.

Tech Stack

  • Python
  • OpenAI
  • Anthropic
  • Milvus
  • Cohere
  • Retrieval-Augmented Generation (RAG)
  • Milvus Vector Database
  • AWS

Tech Challenge

  • Global policy complexity. The system needed to retrieve the relevant rules and policy material for the countries covered by the client’s operations.
  • Retrieval and reasoning. The assistant needed to retrieve relevant policies and internal rules and provide source-grounded responses for HR review.
  • Cross-Language Capabilities. Supporting native-language HR teams meant the system had to natively understand and respond in multiple languages.
  • Latency in RAG Workflows. The assistant needed to behave interactively. Real-time retrieval and answer generation with clear citations had to happen in under a few seconds.
  • Security and Privacy. Working with sensitive employee information, the system had to enforce strict data access and encryption.

Solution

  • RAG Stack with Milvus indexes HR policy manuals, international labor law documents, and region-specific templates. Every response is grounded in real-time, context-specific documents.
  • We employ multilingual embeddings and structured prompting to natively support user queries in different languages, enabling globally distributed teams to interact in their preferred language.
  • Conversational Core with OpenAI models powers the assistant’s reasoning engine, with domain-specific prompting layers to enforce legal and HR relevance.
  • We integrated the action layer with Function Calling. The agent connects with internal systems (HRIS, document stores, legal templates) and can execute tasks such as drafting employment agreements for review or pulling historical leave data.
  • The system masks PII before LLM interaction, maintains auditable logs, and has strict role-based access control.

Impact

Outcome

A workflow for policy lookup, document drafting and HR operations across more than 20 countries.

Published

DRL Team