Back to Projects
Lexipol

Lexipol

Role: Consultant

RAGOpenAIMongoDBLangchain

Lexipol offers a policy authoring platform, which customers use to manage updates to manuals in line with evolving legislation. Additionally, they provide training materials to keep employees abreast of company policies. These manuals are extensive, often spanning hundreds of pages, and primarily consist of text. Although the content might differ between agencies, the structural framework (Chapters > Policies > Sections > Sub-Sections) remains consistent. We empower customers to interact with their manuals via a Q&A chat interface within the policy platform.

Challenges

  • Document Processing, cleaning, segmenting, and chunking
  • Embedding and storage of chunks.
  • Retrieval and annotation of relevant context to the end user based on their query

Solutions

  • RAG pipeline to support Q&A chat interface
  • Langchain with OpenAI embeddings
  • MongoDB for vector storage

Technologies Used

OpenAIMongoDBLangchainPython