<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs" -->

---
title: Large Language Models, Open API, View Models and the...
description: Integrating APIs with LLMs can be challenging due to issues with Swagger / Open API integration. View models and the Backend for Frontend (BFF) Pattern can...
canonical: https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Large Language Models, Open API, View Models and the Backend for Frontend Pattern | daily.dev
og:description: Integrating APIs with LLMs can be challenging due to issues with Swagger / Open API integration. View models and the Backend for Frontend (BFF) Pattern can...
og:url: https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs
og:image: https://api.daily.dev/og/posts/QKL5EH0XS.png
og:image:alt: Large Language Models, Open API, View Models and the Backend for Frontend Pattern
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Large Language Models, Open API, View Models and the Backend for Frontend Pattern

**[John Reilly](https://daily.dev/sources/johnnyreilly)** · 6 min read · 4 upvotes · 0 comments

## Summary

Integrating APIs with LLMs can be challenging due to issues with Swagger / Open API integration. View models and the Backend for Frontend (BFF) Pattern can help in managing the information exposed to LLMs and ensuring appropriate answers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://johnnyreilly.com/large-language-models-view-models-backend-for-frontend>

---

Tags: [#llm](https://daily.dev/tags/llm), [#openapi](https://daily.dev/tags/openapi), [#semantic-kernel](https://daily.dev/tags/semantic-kernel)

[View this post on daily.dev](https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Large Language Models, Open API, View Models and the Backend for Frontend Pattern","url":"https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs"},"datePublished":"2024-05-04T08:17:23.753Z","dateModified":"2024-05-09T09:28:47.883Z","description":"Integrating APIs with LLMs can be challenging due to issues with Swagger / Open API integration. View models and the Backend for Frontend (BFF) Pattern can...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf15aa38ad17e853cb6ba46c2e8d45e8?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf15aa38ad17e853cb6ba46c2e8d45e8?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"John Reilly","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"John Reilly","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c1915bb9b8334d82853ec8e5f3a9532f","url":"https://daily.dev/sources/johnnyreilly"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/large-language-models-open-api-view-models-and-the-backend-for-frontend-pattern-qkl5eh0xs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,openapi,semantic-kernel","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"John Reilly","item":"https://daily.dev/sources/johnnyreilly"},{"@type":"ListItem","position":3,"name":"Large Language Models, Open API, View Models and the Backend for Frontend Pattern"}]}
```

