Skip to content

Commit e892381

Browse files
authored
Merge pull request #11 from lpm0073/next
documentation cleanup
2 parents 9b02ee6 + e0034a6 commit e892381

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# Netec Large Language Models
1+
# Hybrid Search Retriever
22

3-
A Python [LangChain](https://www.langchain.com/) - [Pinecone](https://docs.pinecone.io/docs/python-client) proof of concept Retrieval Augmented Generation (RAG) models using sales support PDF documents.
3+
A Python [OpenAI](https://openai.com/) / [LangChain](https://www.langchain.com/) / [Pinecone](https://docs.pinecone.io/docs/python-client) proof of concept Retrieval Augmented Generation (RAG) model using PDF documents as the embeddings data source.
4+
5+
Implements the following:
6+
7+
- a command-line pdf loader program that extracts text, vectorizes, and
8+
loads into a Pinecone dot product vector database that is dimensioned to match OpenAI embeddings.
9+
10+
- a hybrid search retriever that locates relevant documents from the vector database and includes these in OpenAI prompts.
411

512
See:
613

models/hybrid_search_retreiver.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# -*- coding: utf-8 -*-
22
# pylint: disable=too-few-public-methods
33
"""
4-
Sales Support Model (SSM) for the LangChain project.
4+
Hybrid Search Retriever. A class that combines the following:
5+
- OpenAI prompting and ChatModel
6+
- PromptingWrapper
7+
- Vector embedding with Pinecone
8+
- Hybrid Retriever to combine vector embeddings with text search
9+
10+
Provides a pdf loader program that extracts text, vectorizes, and
11+
loads into a Pinecone dot product vector database that is dimensioned
12+
to match OpenAI embeddings.
13+
514
See: https://python.langchain.com/docs/modules/model_io/llms/llm_caching
615
https://python.langchain.com/docs/modules/data_connection/document_loaders/pdf
716
https://python.langchain.com/docs/integrations/retrievers/pinecone_hybrid_search

0 commit comments

Comments
 (0)