all AI news
All in One AI App with Cloudflare Pages
April 9, 2024, 2:30 p.m. | Shailesh Chaudhary
DEV Community dev.to
This is a submission for the Cloudflare AI Challenge.
All in one app with ai for chat, image generation, text summarization, code copilot and Translation generator.
Demo
My Code
shaileshofficial2019
/
ai-cloudflare
AI App for Chat, Code Copilot, Translation, Image Generation
Details of AI Models used
Type
Model Name
Conversation
@cf/meta/llama-2-7b-chat-fp16
Image generation
@cf/lykon/dreamshaper-8-lcm
Summarization
@cf/facebook/bart-large-cnn
Translation
@cf/meta/m2m100-1.2b
Code
@hf/mistral/mistral-7b-instruct-v0.2
Environmental Variables
CLOUDFLARE_AUTH_TOKEN=""
CLOUDFLARE_ACCOUNT_ID=""
open https://dash.cloudflare.com and grab your cridentials.
Run Development Server
npm run dev
Deploy …
ai ai app ai models app challenge chat cloudflare cloudflare ai cloudflarechallenge code conversation copilot demo devchallenge generator image image generation next.js one ai summarization text text summarization translation type
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US