docs: add admonition to DSPy integration page in v0.2 docs (#31277)

This commit is contained in:
ccurme 2025-05-19 10:10:04 -04:00 committed by GitHub
parent b9d892ed56
commit 24eb670af9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,12 @@
"source": [
"# DSPy\n",
"\n",
":::important\n",
"\n",
"DSPy removed its integration with LangChain in [version 2.6.6](https://github.com/stanfordnlp/dspy/compare/2.6.5...2.6.6). See this [related issue](https://github.com/stanfordnlp/dspy/issues/7782) in the DSPy Github. The integration below is no longer supported.\n",
"\n",
":::\n",
"\n",
">[DSPy](https://github.com/stanfordnlp/dspy) is a fantastic framework for LLMs that introduces an automatic compiler that teaches LMs how to conduct the declarative steps in your program. Specifically, the DSPy compiler will internally trace your program and then craft high-quality prompts for large LMs (or train automatic finetunes for small LMs) to teach them the steps of your task.\n",
"\n",
"Thanks to [Omar Khattab](https://twitter.com/lateinteraction) we have an integration! It works with any LCEL chains with some minor modifications.\n",