Skip to content

Commit

Permalink
fix: typo in schema docs (langchain-ai#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavmalvawala authored May 11, 2023
1 parent 7fa9181 commit dad9643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/modules/schema/document.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Document

Language models only know information about what they were trained on. In order to get them answer questions or summarize other information you have to pass it to the language model. Therefore, it is very important to have a concept of a document.
Language models only know information about what they were trained on. In order to get them to answer questions or summarize other information you have to pass it to the language model. Therefore, it is very important to have a concept of a document.

A document at its core is fairly simple. It consists of a piece of text and optional metadata. The piece of text is what we interact with the language model, while the optional metadata is useful for keeping track of metadata about the document (such as the source).

Expand Down

0 comments on commit dad9643

Please sign in to comment.