Riza
banner
riza.io
Riza
@riza.io
AI writes code. Riza runs it.
Results in just 3 months:
► 1M+ code executions
► Fewer feature requests
► New user-driven workflows

Get the full scoop: riza.io/customers/pr...
PromptLayer empowers users to customize AI agents & evals with Riza | Riza Customers
riza.io
March 28, 2025 at 6:08 PM
So they integrated Riza to enable custom code execution in 2 products:
🔹Evals - So users can build custom scoring functions
🔹Agents - So users can freely fetch and manipulate data, invoke callbacks, and more
March 28, 2025 at 6:08 PM
PromptLayer's users needed flexibility beyond the 20+ predefined transformation types offered in their AI workflow builders.
March 28, 2025 at 6:08 PM
The best AI systems aren't built by engineers alone. Prompt engineering requires iteration, testing—and domain expertise.

That's why PromptLayer is designed to let domain experts like lawyers, doctors, and therapists tune prompts.
March 28, 2025 at 6:08 PM
Try it yourself!

📚 Full guide with links to the data: docs.riza.io/guides/use-c...

💻 GitHub example: github.com/riza-io/exam...

New to Riza? Get started here: docs.riza.io/introduction...
Data Extraction - Riza
Run LLM-generated code to extract data from a website
docs.riza.io
March 7, 2025 at 9:10 PM
Riza runs Python, JavaScript, Ruby, and PHP securely with any libraries you want to use.

In this example, Riza empowered the LLM to write and run extraction code using BeautifulSoup.
March 7, 2025 at 9:10 PM
To securely execute code written by LLMs, use @riza.io

Code written by LLMs is "untrusted"—it might contain harmful side-effects. You protect your systems by running that code on Riza, not your production environment.
March 7, 2025 at 9:10 PM
The workflow is simple:
March 7, 2025 at 9:10 PM
Why? Two major benefits:

1️⃣ Reliability: LLMs often miss data when extracting directly
2️⃣ Speed & cost savings: Make just 1 call to an LLM to generate code, using a small subset of data
March 7, 2025 at 9:10 PM
The key insight:

Don't ask LLMs to extract the data directly. Ask them to write the extraction code.
March 7, 2025 at 9:10 PM
Instead, here's how we solved it:

1️⃣ We fed sample HTML from the site to an LLM
2️⃣ We had the LLM write targeted extraction code
3️⃣ Riza executed that code securely
4️⃣ We got back clean, structured CSV data
March 7, 2025 at 9:10 PM
Manual scraping is tedious—especially when you're extracting data from many different websites.

LLMs can help. But when we asked OpenAI to extract a list of all the appraisers from the full HTML, it gave us a partial list.
March 7, 2025 at 9:10 PM
The California Bureau of Real Estate Appraisers provides a list of all current and recently-licensed appraisers (link below 👇).

13,000 appraisers are shown in batches of 300, with no bulk download option:
March 7, 2025 at 9:10 PM
Try it yourself!

📚 Full guide, with code and links to full SF employee salary dataset: docs.riza.io/guides/use-c...

💻 GitHub: github.com/riza-io/exam...

New to Riza? Get started here: docs.riza.io/introduction
Data Analysis - Riza
Run LLM-generated code to analyze data and produce graphs
docs.riza.io
February 28, 2025 at 5:10 PM
In this example, Riza empowered Claude to run Python code using `pandas`, `matplotlib`, and `seaborn`.

Riza executes Python, JavaScript, Ruby, and PHP securely with any libraries you want to use.
February 28, 2025 at 4:49 PM
To securely execute code written by LLMs, use Riza's Execute Function API.

This API handles structured inputs / outputs, so your data analysis pipeline is reliable and debuggable.
February 28, 2025 at 4:49 PM
The workflow is simple:
February 28, 2025 at 4:49 PM
Instead, here's how we made the chart:

1. 🔎We fed a few lines of the salary data to an LLM (Claude)
2. ⭐The LLM wrote Python code to analyze and visualize trends
3. 🔒Riza executed that code securely
4. 📊We got back a clear chart
February 28, 2025 at 4:49 PM