mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
parent
19356b6445
commit
3e7bb7690c
@ -10,7 +10,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"See Databricks documentation ([AWS](https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-sql-function.html)|[Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-ddl-create-sql-function)|[GCP](https://docs.gcp.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-sql-function.html)) to learn how to create SQL or Python functions in UC. Do not skip function and parameter comments, which are critical for LLMs to call functions properly.\n",
|
"See Databricks documentation ([AWS](https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-sql-function.html)|[Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-ddl-create-sql-function)|[GCP](https://docs.gcp.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-sql-function.html)) to learn how to create SQL or Python functions in UC. Do not skip function and parameter comments, which are critical for LLMs to call functions properly.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"In this example notebook, we create a simple Python function that executes arbitary code and use it as a LangChain tool:\n",
|
"In this example notebook, we create a simple Python function that executes arbitrary code and use it as a LangChain tool:\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```sql\n",
|
"```sql\n",
|
||||||
"CREATE FUNCTION main.tools.python_exec (\n",
|
"CREATE FUNCTION main.tools.python_exec (\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user