O'Reilly Super Stream | July 2024
Natalia Venditto
microfrontend.dev - @anfibiacreativa
Image credit DALLE3
Principal Owner JavaScript DX, Azure
© DallE 3
Who understand AI and have been working with it and different models for a long time.
Backend and frontend developers that must integrate AI in their workloads.
Backend and frontend developers that must integrate AI in their workloads.
Where to start
microfrontend.dev - @anfibiacreativa
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
A green field or brown field web application, will more likely succeed and demand more effort to integrate with AI -and other emerging technologies- when it's API-First at its core.
Understanding the use-case in depth.
microfrontend.dev - @anfibiacreativa
Designing the user interface and the API specification on top of it.
Selecting the tech-stack including the frameworks and middleware and the database model
Web Development
Understanding the use-case in depth, is of higher priority than it ever was.
microfrontend.dev - @anfibiacreativa
Designing the user interface and the API specification on top of it.
Defines whether retrieval is based on text similarity or vector representation.
Tech-stack and frameworks to orchestrate, offer the ability to reduce the effort in API development.
Web Development + AI
Business Automation
Customer Support
Personalization
Analytics
Other...
High level use-cases
Customer Support
API/Model
Language/Framework
Pattern
Building blocks*
excluding deployment infrastructure and pipelines
API/Model
Retrieval
Embeddings
Data Sources
The model in depth
Tools
DATASET
Response
Retriever
SELECTS RELAVANT PASSAGES
FORMULATES RESPONSE
microfrontend.dev - @anfibiacreativa
DATASET
Response
Retriever
SELECTS RELAVANT PASSAGES
FORMULATES RESPONSE
microfrontend.dev - @anfibiacreativa
Message Processing API
User Interaction API
Model Interaction API
Knowledge Base Retrieval API
Embeddings API
User input and chatbot responses
Messages routing and preprocessing
Interactions with the GPT model deployed to a service
Information retrieval from a knowledge base
Embeddings generation and management
Custom APIs
Message Processing API
User Interaction API
Model Interaction API
Knowledge Base Retrieval API
Embeddings API
User input and chatbot responses
Messages routing and preprocessing
Interactions with the GPT model deployed to a service
Information retrieval from a knowledge base
Embeddings generation and management
SDK
Orchestrator
An API contracts helps us swap between
- local and remote models
- different languages and orchestrators
microfrontend.dev - @anfibiacreativa
microfrontend.dev - @anfibiacreativa
User Interaction API
User input and chatbot responses
A collection of types and functionality as a contract for Chat Applications.
Go to app code demo, swapping backends.
Patterns
Versioning
Spec authoring
Multiple protocols
Diagnostics
API challenges
Extensibility
Go to generating an API with TypeSpec demo.
TypeSpec
A framework to describe API shapes using declarations, interfaces, models, decorators, enums, unions, type literals, and other entities idiomatic to TypeScript developers, to emit contracts and specifications.
@anfibiacreativa - https://www.microfrontend.dev
Learn more
All images except those that credited to Unsplash and respective author, were generated with Bing Image Generator.