You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://lawrencemcdaniel.com)
15
15
16
-
A Hybrid Search and Augmented Generation prompting solution using Python [OpenAI API Embeddings](https://platform.openai.com/docs/guides/embeddings) persisted to a [Pinecone](https://docs.pinecone.io/docs/python-client) vector database index and managed by [LangChain](https://www.langchain.com/). Implements the following:
16
+
A Hybrid Search and Augmented Generation prompting solution using Python [OpenAI API Embeddings](https://platform.openai.com/docs/guides/embeddings) persisted to a [Pinecone](https://docs.pinecone.io/docs/python-client) vector database index and managed by [LangChain](https://www.langchain.com/). Demonstrates the following:
17
17
18
18
-**System Prompting**. How do use the system prompt to modify LLM text completion behavior.
19
19
-**Templates**. How to create templates in order keep your prompt DRY.
20
20
-**LangChain**. How to setup a project using LangChain as an alternative to vendor specific LLM PyPi packages.
21
21
-**PDF Loader**. a command-line pdf loader program that extracts text, vectorizes, and
22
22
loads into a Pinecone dot product vector database that is dimensioned to match OpenAI embeddings.
23
+
-**Pinecone**. How to create, load, and query a Pinecone vector database.
23
24
-**Retrieval Augmented Generation (RAG)**. A chatGPT prompt based on a hybrid search retriever that locates relevant documents from the vector database and includes these in OpenAI prompts.
24
25
25
26
Secondarily, I also use this repo for demonstrating how to setup [Pydantic](https://docs.pydantic.dev/latest/) to manage your project settings and how to safely work with sensitive credentials data inside your project.
0 commit comments