Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Add Microsoft AI logo, use case, and links to Community page (#9970)

Drew Breunig80fce4cc1c67
diff --git a/docs/docs/community/use-cases.md b/docs/docs/community/use-cases.md
index 64ed2a6ab..bd784295d 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, JetBlue, 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</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).
@@ -8,7 +8,7 @@ This list represents companies that have publicly shared their use cases or have
<a href="https://www.shopify.com/" title="Shopify"><img class="logo-shopify" src="../../static/img/logos/shopify-wordmark.svg" alt="Shopify"></a>
<a href="https://www.databricks.com/" title="Databricks"><img class="logo-databricks" src="../../static/img/logos/databricks-wordmark.svg" alt="Databricks"></a>
<a href="https://www.dropbox.com/" title="Dropbox"><img class="logo-dropbox" src="../../static/img/logos/dropbox-wordmark.svg" alt="Dropbox"></a>
- <a href="https://www.jetblue.com/" title="JetBlue"><img class="logo-jetblue" src="../../static/img/logos/jetblue.svg" alt="JetBlue"></a>
+ <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>
</div>
@@ -41,6 +41,7 @@ This list represents companies that have publicly shared their use cases or have
|---|---|
| **[Shopify](https://www.shopify.com/)** | Structured metadata extraction across all Shopify shops with DSPy + GEPA; reduced yearly costs ~550×. [Talk](https://www.youtube.com/watch?v=bxToahwOVpY) |
| **[Dropbox](https://www.dropbox.com/)** | Optimized Dash's relevance judge using DSPy across ranking, training data generation, and offline evaluation. [Engineering blog](https://dropbox.tech/machine-learning/optimizing-dropbox-dash-relevance-judge-with-dspy), [Talk](https://www.youtube.com/watch?v=gGGCJWbqHqc) |
+| **[Microsoft AI](https://microsoft.ai/)** | Curated pretraining data for MAI-Thinking-1 with DSPy + GEPA, optimizing LLM judge prompts that score web-page quality from ~2,000 human labels. [Paper](https://microsoft.ai/pdf/mai-thinking-1.pdf), [Blog](https://haroldbenoit.com/blog/ode_to_gepa/) |
| **[AWS](https://aws.amazon.com/)** | Migrates prompts from larger to smaller models on Amazon Nova while maintaining performance. [Blog](https://aws.amazon.com/blogs/machine-learning/improve-amazon-nova-migration-performance-with-data-aware-prompt-optimization/) |
| **[JetBlue](https://www.jetblue.com/)** | Multiple chatbot use cases. [Blog](https://www.databricks.com/blog/optimizing-databricks-llm-pipelines-dspy) |
| **[Replit](https://replit.com/)** | Synthesize diffs using code LLMs using a DSPy pipeline. [Blog](https://blog.replit.com/code-repair) |
diff --git a/docs/docs/static/img/logos/microsoft-ai.svg b/docs/docs/static/img/logos/microsoft-ai.svg
new file mode 100644
index 000000000..fbdd88160
--- /dev/null
+++ b/docs/docs/static/img/logos/microsoft-ai.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 56 26" fill="none">
+ <!-- Official Microsoft AI "MAI" monogram, from the microsoft.ai site header. -->
+ <path d="M55.1321 10.9639C55.1321 7.20253 55.2011 4.64896 55.4082 0.922134H51.5088C51.7158 4.64896 51.7849 7.20253 51.7849 10.9639V15.0358C51.7849 18.7971 51.7158 21.3852 51.5088 25.0775H55.4082C55.2011 21.3852 55.1321 18.7971 55.1321 15.0358V10.9639Z" fill="#242424"/>
+ <path d="M41.0615 3.78627L39.8883 0.922134H37.6108C37.3002 1.78483 36.8861 2.78555 36.541 3.61373C33.8149 10.4808 30.2606 18.4175 27.293 25.0775H30.4332C30.8127 23.6972 31.3304 22.3169 31.848 20.9021C32.1772 20.0525 32.516 19.1974 32.8622 18.3385C33.9823 18.2339 35.3546 18.2105 37.8261 18.2105H38.8613C41.0422 18.2105 42.3687 18.2284 43.416 18.3023C43.8273 19.3023 44.238 20.3065 44.6503 21.3162C45.1334 22.5239 45.6165 23.8697 45.9616 25.0775H50.2751C47.4454 18.6591 43.6841 10.1702 41.0615 3.78627ZM38.8613 16.071H37.8261C35.9982 16.071 34.7718 16.071 33.8035 16.032C35.1907 12.6748 36.6625 9.27471 38.107 5.90573C38.1649 6.03686 38.2288 6.17972 38.3009 6.33984C39.7609 9.57389 41.133 12.7938 42.4839 16.0465C41.5805 16.071 40.4466 16.071 38.8613 16.071Z" fill="#242424"/>
+ <path d="M25.7986 10.964C25.7986 7.20266 25.8676 4.64909 26.0747 0.922264H21.2781C19.002 7.32792 16.3584 13.7029 13.5491 20.249C10.5632 13.6835 8.14279 7.6554 5.50813 0.922264H0.953125C1.12566 2.57863 1.22919 5.51178 1.22919 7.27167V18.7282C1.22919 20.1085 1.12566 23.3177 0.953125 25.0776H3.9898C3.81726 23.3177 3.71374 20.1085 3.71374 18.7282L3.74445 5.96073C6.54302 12.3188 9.35056 18.761 11.7195 25.0776H14.3421C16.7428 18.5336 19.5507 11.7704 22.3779 5.3251C22.4269 7.08499 22.4514 8.84073 22.4514 10.964V15.0359C22.4514 18.7972 22.3824 21.3853 22.1753 25.0776H26.0747C25.8676 21.3853 25.7986 18.7972 25.7986 15.0359V10.964Z" fill="#242424"/>
+</svg>
diff --git a/docs/docs/stylesheets/extra.css b/docs/docs/stylesheets/extra.css
index 0b833949c..8a74e1f1a 100644
--- a/docs/docs/stylesheets/extra.css
+++ b/docs/docs/stylesheets/extra.css
@@ -281,18 +281,19 @@ h2.doc-heading {
.dspy-logo-wall {
display: grid;
- grid-template-columns: repeat(6, 1fr);
+ /* 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;
- gap: 1rem 1.5rem;
- padding: 1.75rem 1rem;
+ gap: 1.75rem 2rem;
+ padding: 2.25rem 1rem;
border-top: 1px solid var(--md-default-fg-color--lightest);
border-bottom: 1px solid var(--md-default-fg-color--lightest);
margin: 1rem 0 1.5rem;
}
-@media (max-width: 720px) {
+@media (max-width: 480px) {
.dspy-logo-wall {
- grid-template-columns: repeat(3, 1fr);
+ grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.dspy-logo-wall a {
@@ -300,7 +301,7 @@ h2.doc-heading {
align-items: center;
justify-content: center;
width: 100%;
- height: 40px;
+ height: 52px;
opacity: 0.85;
transition: opacity 0.15s ease;
}
@@ -309,15 +310,17 @@ h2.doc-heading {
}
.dspy-logo-wall img {
width: auto;
+ max-width: 100%;
object-fit: contain;
}
-/* Per-logo sizing: tuned so each wordmark has similar visual presence */
-.dspy-logo-wall img.logo-shopify { height: 30px; max-width: 130px; }
-.dspy-logo-wall img.logo-databricks { height: 26px; max-width: 150px; }
-.dspy-logo-wall img.logo-dropbox { height: 26px; max-width: 150px; }
-.dspy-logo-wall img.logo-jetblue { height: 22px; max-width: 100px; }
-.dspy-logo-wall img.logo-replit { height: 28px; max-width: 32px; }
-.dspy-logo-wall img.logo-aws { height: 26px; max-width: 60px; }
+/* Per-logo sizing: tuned so each wordmark has similar visual presence. Roomier now that
+ there are three per row. */
+.dspy-logo-wall img.logo-shopify { height: 40px; max-width: min(100%, 190px); }
+.dspy-logo-wall img.logo-databricks { height: 34px; max-width: min(100%, 210px); }
+.dspy-logo-wall img.logo-dropbox { height: 34px; max-width: min(100%, 210px); }
+.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); }
[data-md-color-scheme="slate"] .dspy-logo-wall img {
filter: brightness(0) invert(1);
}