Better Programming

Advice for programmers.

Follow publication

You're unable to read via this Friend Link since it's expired. Learn more

Member-only story

Building Your Own DevSecOps Knowledge Base with OpenAI, LangChain, and LlamaIndex

Wenqi Glantz
Better Programming
Published in
11 min readMay 24, 2023
Diagram by author

DevSecOps is a big part of what I do daily at my current job. I love learning in the DevSecOps space and sharing my knowledge with others through blogging. Often, I find myself searching through my articles for the information I need. Wouldn’t it be nice to build my own custom knowledge base for DevSecOps so I can feed my files or articles to it and search it when needed?

In this article, let’s explore building a custom DevSecOps knowledge base using OpenAI, LangChain, and LlamaIndex (GPT Index).

High-Level Architecture

We are going first to feed my article files to our knowledge base. Then we query our knowledge base with questions from my article files related to DevSecOps.

Let’s split the architecture into two stages: data ingestion/indexing and data querying.

Diagram by author

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Wenqi Glantz
Wenqi Glantz

Written by Wenqi Glantz

Mom, wife, architect with a passion for technology and crafting quality products linkedin.com/in/wenqi-glantz-b5448a5a/ twitter.com/wenqi_glantz

Write a response