Role:
DevOps Engineer Lead
Introduction:
In the dynamic realm of enterprise resource planning, seamless document management is critical. Our groundbreaking integration of Odoo with GoFAST and LangChain's advanced AI technology marks a significant advancement in this area. Imagine documents and attachments created in Odoo being automatically stored in GoFAST, with access URLs generated and sent back to Odoo in real-time. This ensures that every document is just a click away, eliminating the hassle of manual uploads and retrievals
The true game-changer, however, is integrating an AI model within Odoo that taps into the stored documents in GoFAST. This AI doesn't just retrieve documents—it understands and processes them, providing intelligent responses to user queries based on the content of these documents. Whether answering a complex question or extracting specific information, this AI integration transforms how users interact with their data, leading to more informed decision-making and significantly reduced search times.
For those experienced with Odoo, this integration enhances efficiency and introduces a level of automation and intelligence that revolutionizes document management. The seamless flow of information, powered by AI, elevates the user experience and operational capabilities of businesses, setting a new standard for productivity and innovation in the Odoo ecosystem. This is not just an upgrade; it's a leap into the future of smart document management.
Summary:
The project aimed to enhance document management by embedding documents and leveraging AI models for intelligent search, enabling efficient access to information without direct access to the original documents.
Key Responsibilities:
- Developed an application using Python Flask.
- Implemented token management with JWT for secure user authentication.
- Added a database for managing user logins.
- Enabled REST API integration.
- Applied AI models (using Ollama) for enhanced functionality.
- Embedded documents using ChromaDB for efficient search and retrieval.
- Implemented CI/CD pipeline using GitLab for streamlined group development.
- Built and managed Docker images for the application.
- Orchestrated and deployed containers using Kubernetes.
- Monitored containerized applications with Portainer.
- Automated updates to Docker Hub using ArgoCD with GitLab CI/CD integration.
Tech Stack
- Python Flask
- JWT
- Langchain
- Hugging Face
- PDF2Image
- Redis
- Ollama
- PyCharm
- GitLab
- Docker
- Kubernetes
- REST API
- Portainer
- ArgoCD
Challenges & Solutions
- Challenge: Denying direct access to documents during preview while allowing users to proofread.
- Solution: Converted documents to PDFs and implemented an algorithm that detects and displays the correct image when answering questions, ensuring secure access. The scaling challenge was addressed using Kubernetes orchestration.
Code & Demo
Screens / Pictures
- Login Page
- Upload and answer page
Upload the document and ask questions to get answers with the image of the document showing for verification.
- Integration with Odoo
Changing the ModelAI from the integrated app affects the speed of response depending on the users' deployment.
- History of questions asked for reference.
- Asking questions, and uploading any document in Odoo puts it directly on the app platform for interaction.
- Deployment and Kubernetes Management using Portainer.
Optimizing Document Lifecycle:AI-Driven Solutions with Odoo and GoFAST