Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update tutorials #7358

Merged
merged 41 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
97bf730
update chat models + prompts tutorial
ccurme Dec 10, 2024
c75f742
update chatbot tutorial
ccurme Dec 10, 2024
2304fa5
add semantic search tutorial
ccurme Dec 11, 2024
8725152
update classification tutorial
ccurme Dec 11, 2024
ad88b71
update extraction tutorial
ccurme Dec 11, 2024
416bb3c
add in tabs from 7347
ccurme Dec 12, 2024
f3e8868
update index
ccurme Dec 12, 2024
fc7e8af
bump langgraph
ccurme Dec 12, 2024
dd21005
update rag tutorial
ccurme Dec 12, 2024
36497ec
bump lg
ccurme Dec 12, 2024
2dbf4ea
update
ccurme Dec 12, 2024
05edaf2
fix
ccurme Dec 12, 2024
1e6a48b
Revert "bump lg"
ccurme Dec 12, 2024
9370542
fix
ccurme Dec 12, 2024
d602546
revert changes to yarn.lock
ccurme Dec 12, 2024
9861de1
x
ccurme Dec 12, 2024
b202cb1
x
ccurme Dec 12, 2024
4b0eca3
x
ccurme Dec 12, 2024
d925410
Merge branch 'main' into cc/update_tutorials
ccurme Dec 12, 2024
5d9196a
save images
ccurme Dec 12, 2024
081ffa8
fix
ccurme Dec 12, 2024
82d1155
update langgraph in package.json
ccurme Dec 12, 2024
dc9046f
update langgraph in yarn.lock
ccurme Dec 12, 2024
094c701
fix details
ccurme Dec 12, 2024
3c91bc9
update rag tutorial part 2
ccurme Dec 12, 2024
971ea30
fix
ccurme Dec 12, 2024
fba0c0e
remove comment
ccurme Dec 13, 2024
174b79f
update sql QA tutorial
ccurme Dec 13, 2024
b03676d
fix
ccurme Dec 13, 2024
35223b2
fix
ccurme Dec 13, 2024
20126d1
fix
ccurme Dec 13, 2024
9d9e95b
update summarization tutorial
ccurme Dec 13, 2024
6321266
wrap with mdx
ccurme Dec 13, 2024
3403792
delete tutorials, update links, add redirects
ccurme Dec 13, 2024
12886ff
Merge branch 'main' into cc/update_tutorials
ccurme Dec 15, 2024
322c55e
cr
ccurme Dec 16, 2024
5e06956
Merge branch 'main' into cc/update_tutorials
ccurme Dec 16, 2024
c7ce87b
fix
ccurme Dec 16, 2024
ddd52a0
Merge branch 'main' into cc/update_tutorials
ccurme Dec 16, 2024
8d9ff98
bump langgraph
ccurme Dec 16, 2024
106924f
update rag tutorial
ccurme Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/core_docs/docs/concepts/retrieval.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const retriever = SelfQueryRetriever.fromLLM({

:::info[Further reading]

- See our tutorials on [text-to-SQL](/docs/tutorials/sql_qa/), [text-to-Cypher](/docs/tutorials/graph/), and [query analysis for metadata filters](/docs/tutorials/query_analysis/).
- See our tutorials on [text-to-SQL](/docs/tutorials/sql_qa/), [text-to-Cypher](/docs/tutorials/graph/), and [query analysis for metadata filters](/docs/tutorials/rag#query-analysis).
- See our [blog post overview](https://blog.langchain.dev/query-construction/).
- See our RAG from Scratch video on [query construction](https://youtu.be/kl6NwWYxvbM?feature=shared).

Expand Down
2 changes: 1 addition & 1 deletion docs/core_docs/docs/how_to/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ For a high-level tutorial on building chatbots, check out [this guide](/docs/tut
### Query analysis

Query Analysis is the task of using an LLM to generate a query to send to a retriever.
For a high-level tutorial on query analysis, check out [this guide](/docs/tutorials/query_analysis/).
For a high-level tutorial on query analysis, check out [this guide](/docs/tutorials/rag#query-analysis).

- [How to: add examples to the prompt](/docs/how_to/query_few_shot)
- [How to: handle cases where no queries are generated](/docs/how_to/query_no_queries)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/core_docs/docs/how_to/query_few_shot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
"As our query analysis becomes more complex, the LLM may struggle to understand how exactly it should respond in certain scenarios. In order to improve performance here, we can add examples to the prompt to guide the LLM.\n",
"\n",
"Let's take a look at how we can add examples for the LangChain YouTube video query analyzer we built in the [query analysis tutorial](/docs/tutorials/query_analysis)."
"Let's take a look at how we can add examples for the LangChain YouTube video query analyzer we built in the [query analysis tutorial](/docs/tutorials/rag#query-analysis)."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/core_docs/docs/how_to/query_high_cardinality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/core_docs/docs/how_to/query_multiple_queries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/core_docs/docs/how_to/query_multiple_retrievers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/core_docs/docs/how_to/query_no_queries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"\n",
"This guide assumes familiarity with the following:\n",
"\n",
"- [Query analysis](/docs/tutorials/query_analysis)\n",
"- [Query analysis](/docs/tutorials/rag#query-analysis)\n",
"\n",
":::\n",
"\n",
Expand Down
Loading
Loading