Skip to content

Commit 3b30aa2

Browse files
authored
Merge pull request #41 from FullStackWithLawrence/next
docs: fixup description
2 parents 3901c72 + daa4cbc commit 3b30aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# OpenAI Embeddings Example
1212

13-
A Hybrid Search and Augmented Generation prompting solution using Python [OpenAI](https://openai.com/) API embeddings sourced from [Pinecone](https://docs.pinecone.io/docs/python-client) vector database indexes and managed by [LangChain](https://www.langchain.com/). Implements the following:
13+
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:
1414

1515
- **PDF Loader**. a command-line pdf loader program that extracts text, vectorizes, and
1616
loads into a Pinecone dot product vector database that is dimensioned to match OpenAI embeddings.
@@ -58,7 +58,7 @@ python3 -m models.examples.rag "What analytics and accounting courses does Whart
5858

5959
### Retrieval Augmented Generation
6060

61-
For the question, _"What analytics and accounting courses does Wharton offer?"_ , an
61+
For the question, _"What analytics and accounting courses does Wharton offer?"_, an
6262
embedding can potentially dramatically alter the response generated by chatGPT. To illustrate, I uploaded a batch of 21 sets of lecture notes in PDF format for an online analytics course taught by Wharton professor [Brian Bushee](https://accounting.wharton.upenn.edu/profile/bushee/). You can download these from https://cdn.lawrencemcdaniel.com/fswl/openai-embeddings-data.zip to test whether your results are consistent.
6363

6464
#### The control set

0 commit comments

Comments
 (0)