DSPy: The framework for programming—not prompting—language models
Python
docs(dspy): add Nubank case study (#10228)
Isaac Millera5ac92dcb405
diff --git a/docs/docs/community/use-cases.md b/docs/docs/community/use-cases.mdindex bd784295d..b0073e463 100644--- a/docs/docs/community/use-cases.md+++ b/docs/docs/community/use-cases.md@@ -1,6 +1,6 @@# DSPy in Production-<p class="dspy-lede">DSPy is in production at <strong>Shopify, Databricks, Dropbox, Microsoft AI, Moody's, AWS, Sephora, VMware</strong>, and dozens more.</p>+<p class="dspy-lede">DSPy is in production at <strong>Shopify, Databricks, Dropbox, Microsoft AI, Moody's, AWS, Sephora, VMware, Nubank</strong>, and dozens more.</p>This list represents companies that have publicly shared their use cases or have provided permission to be included. It reflects a selection of the many industry applications of DSPy currently in production. To add yours, please [open a PR](https://github.com/stanfordnlp/dspy/edit/main/docs/docs/community/use-cases.md).@@ -11,6 +11,7 @@ This list represents companies that have publicly shared their use cases or have<a href="https://microsoft.ai/" title="Microsoft AI"><img class="logo-microsoft-ai" src="../../static/img/logos/microsoft-ai.svg" alt="Microsoft AI"></a><a href="https://replit.com/" title="Replit"><img class="logo-replit" src="../../static/img/logos/replit.svg" alt="Replit"></a><a href="https://aws.amazon.com/" title="AWS"><img class="logo-aws" src="../../static/img/logos/aws.svg" alt="AWS"></a>+ <a href="https://nubank.com.br/" title="Nubank"><img class="logo-nubank" src="../../static/img/logos/nubank.svg" alt="Nubank"></a></div>## Featured case studies@@ -50,6 +51,7 @@ This list represents companies that have publicly shared their use cases or have| **[Sephora](https://www.sephora.com/)** | Undisclosed agent usecases; perspectives shared in [DAIS Session](https://www.youtube.com/watch?v=D2HurSldDkE). || **[Zoro UK](https://www.zoro.co.uk/)** | E-commerce applications around structured shopping. [Portkey Session](https://www.youtube.com/watch?v=_vGKSc1tekE) || **[VMware](https://www.vmware.com/)** | RAG and other prompt optimization applications. [Interview in The Register.](https://www.theregister.com/2024/02/22/prompt_engineering_ai_models/) [Business Insider.](https://www.businessinsider.com/chaptgpt-large-language-model-ai-prompt-engineering-automated-optimizer-2024-3) |+| **[Nubank](https://nubank.com.br/)** | Uses DSPy with GEPA to optimize modular, semantically versioned prompts for production-grade financial-service agents. [Engineering blog](https://building.nubank.com/building-ai-agents-for-131-million-customers/) || **[Nous Research](https://nousresearch.com/)** | Evolutionary self-improvement for the Hermes agent: optimizes skills, prompts, and code using DSPy + GEPA. [GitHub](https://github.com/NousResearch/hermes-agent-self-evolution) || **[Haize Labs](https://www.haizelabs.com/)** | Automated red-teaming for LLMs. [Blog](https://blog.haizelabs.com/posts/dspy/) || **[Plastic Labs](https://www.plasticlabs.ai/)** | R&D pipelines for Honcho. [Blog](https://blog.plasticlabs.ai/blog/User-State-is-State-of-the-Art) |diff --git a/docs/docs/static/img/logos/nubank.svg b/docs/docs/static/img/logos/nubank.svgnew file mode 100644index 000000000..11eef53e5--- /dev/null+++ b/docs/docs/static/img/logos/nubank.svg@@ -0,0 +1,5 @@+<svg role="img" viewBox="0 0 264 146" xmlns="http://www.w3.org/2000/svg">+ <title>Nubank</title>+ <path fill="#820AD1" d="M47.6 13.9C56 5.1 67 0 80 0c25.3 0 42.1 18.5 45.3 46.2 1 9 1 21.7 1 36.4v59.6H91.6v-40.7s-.1-34.8-.3-41.4c-.9-28.4-17.7-46.2-43.7-46.2C39.8 22.2 35.6 32.3 35 47.8c-.1 2.1-.1 9.8 0 19.8v17.2c0 26.5 0 57.4 0 57.4H.2V79.5c0-6.5-.3-13.1 0-19.6.4-7.3 1.6-14.4 5-21.1 7.8-15.2 23.7-25 40.7-25h1.7Z"/>+ <path fill="#820AD1" d="M263.7 85.6c.3-6.5 0-13.1 0-19.6V3.4h-34.8s0 30.9 0 57.4v17.1c.1 10.1.1 17.7 0 19.9-.6 15.4-4.8 25.5-12.6 33.8-25.9 0-42.7-17.8-43.7-46.2-.2-6.5-.3-22.7-.3-41.4V3.3l-34.8.1v59.6c0 14.7 0 27.4 1 36.4 3.2 27.7 20 46.2 45.3 46.2 13 0 24.1-5.1 32.4-13.9h1.8c17 0 32.9-9.8 40.7-25 3.4-6.7 4.7-13.8 5-21.1Z"/>+</svg>diff --git a/docs/docs/stylesheets/extra.css b/docs/docs/stylesheets/extra.cssindex 8a74e1f1a..4be8b8949 100644--- a/docs/docs/stylesheets/extra.css+++ b/docs/docs/stylesheets/extra.css@@ -281,7 +281,6 @@ h2.doc-heading {.dspy-logo-wall {display: grid;- /* Two rows of three so each logo gets ~2x the width and can be larger. */grid-template-columns: repeat(3, minmax(0, 1fr));align-items: center;justify-items: center;@@ -291,10 +290,16 @@ h2.doc-heading {border-bottom: 1px solid var(--md-default-fg-color--lightest);margin: 1rem 0 1.5rem;}+.dspy-logo-wall a:last-child:nth-child(3n + 1) {+ grid-column: 2;+}@media (max-width: 480px) {.dspy-logo-wall {grid-template-columns: repeat(2, minmax(0, 1fr));}+ .dspy-logo-wall a:last-child:nth-child(odd) {+ grid-column: 1 / -1;+ }}.dspy-logo-wall a {display: inline-flex;@@ -321,6 +326,7 @@ h2.doc-heading {.dspy-logo-wall img.logo-microsoft-ai { height: 34px; max-width: min(100%, 210px); }.dspy-logo-wall img.logo-replit { height: 38px; max-width: min(100%, 44px); }.dspy-logo-wall img.logo-aws { height: 34px; max-width: min(100%, 80px); }+.dspy-logo-wall img.logo-nubank { height: 38px; max-width: min(100%, 68px); }[data-md-color-scheme="slate"] .dspy-logo-wall img {filter: brightness(0) invert(1);}@@ -521,4 +527,3 @@ h2.doc-heading {[data-md-color-scheme="default"] .highlight .p { color: #24292f; } /* punctuation */[data-md-color-scheme="default"] .highlight .bp { color: #6639ba; } /* self */[data-md-color-scheme="default"] .highlight .n { color: #1f2328; } /* default identifier */-