mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 14:31:55 +00:00
docs:misc fixes (#9671)
Improve internal consistency in LangChain documentation - Change occurrences of eg and eg. to e.g. - Fix headers containing unnecessary capital letters. - Change instances of "few shot" to "few-shot". - Add periods to end of sentences where missing. - Minor spelling and grammar fixes.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"\n",
|
||||
"[PromptLayer](https://promptlayer.com) is a an LLM observability platform that lets you visualize requests, version prompts, and track usage. In this guide we will go over how to setup the `PromptLayerCallbackHandler`. \n",
|
||||
"\n",
|
||||
"While PromptLayer does have LLMs that integrate directly with LangChain (eg [`PromptLayerOpenAI`](https://python.langchain.com/docs/integrations/llms/promptlayer_openai)), this callback is the recommended way to integrate PromptLayer with LangChain.\n",
|
||||
"While PromptLayer does have LLMs that integrate directly with LangChain (e.g. [`PromptLayerOpenAI`](https://python.langchain.com/docs/integrations/llms/promptlayer_openai)), this callback is the recommended way to integrate PromptLayer with LangChain.\n",
|
||||
"\n",
|
||||
"See [our docs](https://docs.promptlayer.com/languages/langchain) for more information."
|
||||
]
|
||||
|
@@ -173,7 +173,7 @@
|
||||
"source": [
|
||||
"from langchain.document_loaders import GitLoader\n",
|
||||
"\n",
|
||||
"# eg. loading only python files\n",
|
||||
"# e.g. loading only python files\n",
|
||||
"loader = GitLoader(\n",
|
||||
" repo_path=\"./example_data/test_repo1/\",\n",
|
||||
" file_filter=lambda file_path: file_path.endswith(\".py\"),\n",
|
||||
|
@@ -52,7 +52,7 @@ Note that using `ddtrace-run` or `patch_all()` will also enable the `requests` a
|
||||
from ddtrace import config, patch
|
||||
|
||||
# Note: be sure to configure the integration before calling ``patch()``!
|
||||
# eg. config.langchain["logs_enabled"] = True
|
||||
# e.g. config.langchain["logs_enabled"] = True
|
||||
|
||||
patch(langchain=True)
|
||||
|
||||
|
Reference in New Issue
Block a user