← Back to all articles

Articles by “Miloš Švaňa”

JSON

Let’s make LLMs generate JSON!

Miloš Švaňa
Miloš Švaňa

15 min read2 years ago

In this article, we are going to talk about three tools that can, at least in theory, force any local LLM to produce structured output: LM Format Enforcer, Outlines, and Guidance. After a short description of each tool, we will evaluate their performance on a few test cases ranging from book recommendations to extracting information from HTML. And the best for the end, we will show you how forcing LLMs to produce a structured output can be used to solve a very common problem in many businesses: extracting structured records from free-form text.

Read article
Illustrative image generated in Midjourney

From ChatGPT to Smart Agents: The Next Frontier in App Integration

Miloš Švaňa
Miloš Švaňa

10 min read3 years ago

It has been over a year since OpenAI introduced ChatGPT and brought the power of AI and large language models (LLMs) to the average consumer. But we could argue that introducing APIs for seamlessly integrating large language models into apps developed by companies and independent hackers all over the world can be the true game changer in the long term. Developers are having heated discussions about how we can utilize this technology to develop truly useful apps that provide real value instead of just copying what OpenAI does. We want to contribute to this discussion by showing you how we think about developing autonomous agents at profiq. But first a bit of background.

Read article