Skip to content

Commit

Permalink
Merge pull request #745 from orlando21/patch-24
Browse files Browse the repository at this point in the history
blog: insert hyperlink
  • Loading branch information
willbakst authored Dec 16, 2024
2 parents ff35c81 + e10e336 commit df4e732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blog/posts/langchain-rag.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Next, we convert the preprocessed text chunks into **vector embeddings** using a

Converting a chunk of text into an embedding means turning it into a numerical fingerprint that captures the semantic meaning of the text, which in turn helps us do [similarity-based searches](https://www.pinecone.io/learn/what-is-similarity-search/) to identify relevant information based on context rather than word matches.

Keep in mind, though, we don’t have to use vectors — we could insert a knowledge graph (or use any other appropriate structure like a document store) — it’s just that vectors are efficient under certain circumstances, like when querying large volumes of unstructured data.
Keep in mind, though, we don’t have to use vectors — we could insert a [knowledge graph](https://mirascope.com/blog/how-to-build-a-knowledge-graph/) (or use any other appropriate structure like a document store) — it’s just that vectors are efficient under certain circumstances, like when querying large volumes of unstructured data.

For the actual task of converting chunks into vectors, we generally use the LLM’s own embedding models, and LangChain makes available wrappers for these like `OpenAIEmbedding`.

Expand Down

0 comments on commit df4e732

Please sign in to comment.