brainlid

brainlid

Episode 185 of Thinking Elixir. Dive into the world of structured LLM prompting with our latest guest who shares insights on their innovative project, InstructorEx. We’ll explore how this tool is pushing the boundaries of large language models to return structured data, particularly JSON, and the benefits it offers when integrated into existing systems. The conversation takes a deep dive into the challenges and solutions of forcing LLMs to output data in desirable formats using Elixir technology, like Ecto schemas, and what it means to treat an LLM like a digital human, even applying it to tasks like spam detection in emails. Discover the intriguing concept of using a local database as a cache for LLM results. If you’re curious about the intersection of structured data, Python experience transition to Elixir, and the future of LLM integration, this is an episode not to miss. Tune in for these engaging topics and more!

Showing Posts 1 to 2

shawn_leong

shawn_leong

I was trying to coerce the output completions from OpenAI for my specific use case into a more structured format & was hell-bent not to leave Elixir land.

Was looking for the Elixir equivalent of Output Parsers in Python LangChain & this was super timely and helpful, thank you! :pray:

Would something similar to Output Parsers be on the roadmap for Elixir LangChain?
(I imagine Instructor being one of many outputs that follow some defined behaviour)

brainlid

brainlid OP

Hi @shawn_leong! I’m hoping that Bumblebee can get support for the same type of output constraint that LlamaCPP supports.

If that can happen, then I’d love to add that to Elixir LangChain.

What type of output parsing were you looking for? When working with OpenAI and ChatGPT, the easiest I’ve found is creating a function that takes the data in the structure you want.

— All posts loaded —

Where Next? Top

Trending in Podcasts Top

PJUllrich
Praia Labs has the numbers on Phoenix version and Bandit adoption, Sobelow 0.15 is out, and there’s a new book, Elixir for Finance. We al...
New
ancatrusca
New episode covering Bandit’s engineering in more depth than I’ve seen elsewhere. Stack trace clarity. One process per connection means ...
New
ancatrusca
Part one of two with the WhatsApp developer experience team. This episode covers scale and operations; part two covers tooling and types....
New
PJUllrich
Peter announces Pushin.eu, a GitHub competitor hosted in the EU, written in Elixir. Other topics include Phoenix ships security patches s...
New
ancatrusca
AtomVM supports GenServer, maps, JSON, Erlang distribution, and via Popcorn - Phoenix LiveView on a microcontroller. No OS, a few hundred...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews