How Speak Empowers Product Teams with Prompt Engineering and PromptLayer

Jared Zoneraich
PromptLayer
Published in
3 min readMay 16, 2024

The following is a case study of how Speak uses PromptLayer.

Speak.com, a language-learning app backed by OpenAI’s Startup Fund, has seen massive growth, expanding from 1 to 11 markets within a year. As they scaled, Speak needed to find ways to enable their non-technical teams, particularly in content and product, to iterate on AI features without requiring constant engineering support. PromptLayer provided the solution, allowing Speak to systematize and operationalize content work to rapidly improve their AI. The impact was so significant that Speak’s entire content team was trained on using PromptLayer.

Curricular Content Production

Seung Jae, the Product Lead at Speak, led an effort to drastically scale the creation of fill-in-the-blank multiple choice questions, a core part of Speak’s language learning curriculum.

Challenge:

Generating large volumes of new curriculum questions, supporting numerous languages, and tailoring content to different learner skill levels.

Solution:

SJ used PromptLayer’s batch pipeline builder to create a 6-step prompt chain that took curriculum definitions as input and output formatted JSON that could be directly plugged into their app. The chain included steps for generating lesson groups, writing level-appropriate sentences, and converting to JSON.

SJ first used PromptLayer to evaluate each step modularly. Once satisfied, he triggered a full batch run in the morning and went out to get a coffee. In an hour the results were ready to be plugged into the product.

Results:

  • Compressed multiple months of work by a team to a single week by an individual
  • Avoided engineering back-and-forth and put the PM in charge of prompt iteration
  • Speed gains impressed the entire Speak team and soon the product spread throughout the organization

“Using PromptLayer, I completed many months’ worth of work in a single week. It empowered me to drastically scale our content creation process, going from curriculum outlines to app-ready content that users could engage with immediately.”
Seung Jae Cha, Product Lead

Product Development

Speak’s “Magic Wand” feature allows users to easily generate role-based scenarios for freeform English conversation practice.

Challenge:

Developing the right prompts to power this feature required extensive iteration and testing. However, the engineering team ill-equipped and too occupied to focus on perfecting the AI voice.

Solution:

Using PromptLayer, Speak’s PMs were able to rapidly test prompt variations, iterate, compare results, and run evaluations, all without needing to involve engineering.

Results:

  • A week of engineering time was saved for this feature
  • Allowed PMs to iterate on the prompts independently (without engineering handoffs)

International Expansion & Business Operations

As Speak expanded from 1 to 11 markets in a year, localization of customer support responses was a key focus.

Challenge:

Generating high-quality localized customer support responses for each new market.

Solution:

Speak’s business operations team used PromptLayer to create prompts that, combined with historical support data, could generate responses in the new languages that were then refined by localization teams. These contractors would start refining translations at 80% complete instead of writing them from scratch.

Results:

  • Saved two weeks per new market launch in both time and localization contracting costs
  • Significant cumulative cost savings across 10 new market launches

Key Takeaways

By enabling Speak’s content, product, and bizops teams to independently implement and iterate on prompt engineering workflows, PromptLayer delivered:

  • Massive time savings and efficiency gains
  • Reduced reliance on scarce engineering resources
  • Faster, more agile iteration on key product features
  • Ability to systematize and scale content operations
  • Significant cost savings, especially for international expansion

PromptLayer put the power of prompt engineering directly into the hands of the teams closest to Speak’s content and customers, resulting in a more efficient, more agile, and more scalable AI-driven business.

Speak is hiring — https://www.speak.com/careers

PromptLayer is the most popular platform for prompt engineering, management, and evaluation. Teams use PromptLayer to build AI applications with domain knowledge.

Made in NYC 🗽 Sign up for free at www.promptlayer.com 🍰

--

--