Commit Graph
294 Commits
Author SHA1 Message Date
William FHandGitHub 5916e3e424 Note Taker (#415) 2024-05-07 09:37:40 -07:00
William FHandGitHub a1e55855fb Update image in tutorial (#410) 2024-05-07 07:50:51 -07:00
William FHandGitHub b492e67046 Format notebooks (#404) 2024-05-06 22:01:05 -07:00
William FHandGitHub 50a0ead50d Fixup Reflexion for Claude (#403) 2024-05-06 21:56:41 -07:00
William FHandGitHub 49ccfdb780 Improve Intro Tutorial (#402) 2024-05-06 17:41:12 -07:00
Erick Friis 79660451bb pinecone example 2024-05-06 10:33:51 -07:00
William FHandGitHub e0770d68b3 Update notebooks to use bind_tools (#394) 2024-05-04 01:30:52 -07:00
William FHandGitHub 21b8cbfd33 Deprecate Chat agent executor & Function Calling Executor in Docs (#392) 2024-05-04 00:17:54 -07:00
William FHandGitHub 119bbe6bae Fixup dup pip (#389) 2024-05-03 15:49:51 -07:00
William FHandGitHub b7ec64df8d [Notebooks Pt 1/N] Fixup some Tool Calling + Import formatting + prebuilt usage (#388) 2024-05-03 15:48:10 -07:00
Harrison Chase 301d71ec34 cr 2024-05-02 18:57:06 -07:00
William FHandGitHub 8a38226078 Customer Support Bot Tutorial (Flight Assistant) (#375) 2024-05-02 16:53:18 -07:00
Nuno CamposandGitHub f6d332beb9 Merge pull request #362 from langchain-ai/nc/29apr/support-cond-edge-list-literal
For cond edges support specifying list of possible destinations as a list or typing annotation
2024-04-30 08:56:05 -07:00
Nuno Campos 7554309abf Update tests 2024-04-29 17:46:42 -07:00
Jose MayorgaandGitHub 75bb0e83cd Fixes #248, pattern validation failure (#277) 2024-04-29 15:27:23 -07:00
Aryan VermaandGitHub ee8fad5f7f Fix/call the correct variable authoring_graph during compilation (#292) 2024-04-29 15:27:03 -07:00
Trung PhanandGitHub a72d162a10 Fix typo in examples/human-in-the-loop.ipynb (#359) 2024-04-29 15:26:14 -07:00
Arno AngererandGitHub ede895cd9f Added required gpt4all dependency (#357)
For the GPT4AllEmbeddings to work (in the Indexing part) the `gpt4all` package is required. This PR adds it to the list of required dependencies at the top of the notebook
2024-04-29 15:25:52 -07:00
BrantandGitHub 32ac2fdacb fix: examples plan-and-execute (#316) 2024-04-29 14:47:40 -07:00
Nuno Campos fd9d30f144 Improve tracing output for function nodes
- remove double entry in tracing tree when using functions as nodes
2024-04-29 08:59:56 -07:00
William FHandGitHub e01e1c6735 Add USACO example (#333)
Tutorial based on the paper: https://arxiv.org/abs/2404.10952v1 by Quan Shi, Michael Tang, Karthik Narasimhan, Shunyu Yao
2024-04-23 13:00:47 -07:00
Nuno CamposandGitHub de9c0786f5 Merge pull request #328 from angeligareta/improve_visualization_notebook
Fix visualization notebook outputs
2024-04-22 08:38:19 -07:00
Angel Igareta 45a9a054d7 Fix visualization notebook outputs 2024-04-19 17:29:36 +02:00
Lance Martin 5abe98e8d9 RAG agent llama3 loca 2024-04-18 17:46:31 -07:00
Nuno CamposandGitHub 97dc410b08 Merge pull request #323 from angeligareta/improve_visualization_notebook
Enrich visualization notebook to showcase new capabilities
2024-04-18 10:20:55 -07:00
William FHandGitHub fe03a60dff Fix bullet point (#324)
In tutorials index
2024-04-18 09:04:08 -07:00
Angel Igareta 3fb6519886 Remove graph from repo 2024-04-18 16:04:36 +02:00
Angel Igareta f1eca30912 Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes 2024-04-18 12:19:45 +02:00
William FHandGitHub 49cced4f92 Tutorial (#315) 2024-04-18 01:15:21 -07:00
William FHandGitHub 85f48da84e Docs Draft (#286) 2024-04-15 22:44:12 -07:00
Marco TrinelliandGitHub eb10fe599b fix: plan execute example response state (#303) 2024-04-15 22:43:11 -07:00
Nuno Campos f3ae555b91 Shorten conditional edge names 2024-04-12 09:29:27 -07:00
Nuno Campos 92deae4196 Add anthropic notebook 2024-04-11 10:50:06 -07:00
Nuno Campos 7dafc09a5b Add prebuilt ToolNode 2024-04-10 18:15:19 -07:00
Eugene Yurtsev a81ba40a86 x 2024-04-09 15:06:58 -04:00
Eugene Yurtsev 57feccfec9 x 2024-04-09 15:06:15 -04:00
Eugene Yurtsev 40a0f8c9ca x 2024-04-09 15:06:03 -04:00
ce687403d4 Fix single/double quotes in storm.ipynb (#225)
to avoid "unterminated string literal" error when run in Jupyter

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2024-04-08 13:42:53 -07:00
Ronen AzachiandGitHub deabce5780 added packages to run multi-agent collaboration notebook (#282)
Added packages to be able to run the notebook
2024-04-08 13:41:58 -07:00
Lance MartinandGitHub a3c4d4bdd1 Merge pull request #273 from langchain-ai/rlm/claude3-code-gen
Clean code-gen ntbk
2024-04-07 17:21:15 -07:00
Lance Martin fdc34ef3b7 Fmt 2024-04-07 16:00:18 -07:00
Lance Martin 04668df9bc Add Claude3 evals 2024-04-07 15:55:37 -07:00
Lance Martin 5f8add89c3 Clean / test 2024-04-06 13:31:48 -07:00
Lance Martin 520443d6cd Clean up code for Claude3 2024-04-06 13:20:39 -07:00
MisraaksandGitHub 217321127f Issue #274: Fix LLMCompiler Bugs (#275)
* Update LLMCompiler.ipynb

The code didn't actually handle when there's more than one dependency listed in an argument. The example of multi-step math used in the code doesn't work because the third step has more than one dependency in its args and the code only handles one:
```
User query: "What's ((3*(4+5)/0.5)+3245) + 8? What's 32/4.23? What's the sum of those two values?"
1. math(problem="((3*(4+5)/0.5)+3245) + 8")
2. math(problem="32/4.23")
3. math(problem="${1}+${2}")
4. join()<END_OFPLAN>
```
Step 3 fails, and does so silently too. It correctly parses strings that are "${1}", but not multi-argument strings like "${1}+${2}"

This fixes it to handle any number of dependencies listed in one arg. It uses the regex pattern already defined in output_parser.py.

* Fix looping function calls because no arg context

Task Fetching Unit, when it inserts the tool_messages, the function args don't get logged with function calls, this causes the replanner to loop and use the same function parameters and never corrects itself.

* Fix tool index count and range

In the planner prompt formatting, the 'num_tools' variable needs to have a +1 added to it because we're appending the join() function, without +1 it says there's one less available tools than there actually is because it only counts the passed in functions and not the join() function. And add +1 for listing otherwise it starts at a 0 offset.

* Fix unhandled empty iterator exception

Task fetching unit: When it calls the tools it doesn't handle when there's no tasks. next() is called and fails. This fixes it by wrapping in a try/except. On exception we set tasks to an empty list since next() failed, there's no tasks.
2024-04-05 10:37:11 -07:00
Lance Martin c43de8637c Finalize 2024-04-03 21:39:56 -07:00
Lance Martin e779b4335b Finalize ntbk w/ GPT-4 2024-04-03 21:27:50 -07:00
Lance Martin fe87c43375 Update notebook 2024-04-03 15:10:25 -07:00
Lance Martin a984c65b6d Clean ntbk 2024-04-03 11:34:25 -07:00
Lance Martin 1257518789 Cohere adaptive RAG 2024-04-02 21:56:10 -07:00