Add LLM tools example notebook (#6053)

* Add LLM tools example notebook

* Update README, rename example notebook

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
This commit is contained in:
Michael Struwig
2024-02-08 12:09:30 +02:00
committed by GitHub
parent 7c68832379
commit d4ac2fe27b
2 changed files with 6234 additions and 0 deletions

9
examples/README.md vendored
View File

@@ -47,3 +47,12 @@ This notebook explains how to calculate and plot the Copper-to-Gold ratio.
- Getting the historical series from FRED for the 10-year constant maturity US treasury bill.
- Performing basic DataFrame operations.
- Creating charts with Plotly Graph Objects.
### openbbPlatformAsLLMTools
This notebook shows you how you can use OpenbB Platform as functions in an LLM by leveraging function calling.
- Create an LLM tool from an OpenBB Platform function
- Convert all OpenBB Platform functions to LLM tools
- Build a basic Langchain agent that can utilize function calling
- Run the agent

6225
examples/openbbPlatformAsLLMTools.ipynb vendored Normal file

File diff suppressed because one or more lines are too long