I'm trying to get started with workers ai function calling, for the life of me I can't get it it to

I'm trying to get started with workers ai function calling, for the life of me I can't get it it to call the function I've provided or get it to return in the schema shape that I've specified. I always need the response to be in the json schema that I've given. With open AI you could enforce this with tool_choice. is there an equivalent for workers ai / hermes 2?
16 Replies
crazyjack12
crazyjack122mo ago
Isit the playground or something else that allows you to use aCF gui to build multiple interactions and outputs pipelines
mustafahanif
mustafahanif2mo ago
please tell me the files supported in cf/whisper, no files work for me
aperture
aperture2mo ago
have you tried wav format?
31415SML
31415SML2mo ago
Does anyone know how I can check if a model exists in the cloudflare API? Using the rest api
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
tadhglewis
tadhglewis2mo ago
Potentially dumb question (haven't used Workers AI much before) is it possible to parse (into a normalised object) and/or summarise pdfs and doc files? ChatGPT allows you to upload arbitary files and parse/summarise them. I know it's possible for images?
cookie
cookie2mo ago
This would be nice, structured outputs/json mode
boots
boots2mo ago
there is an example "chat with PDF" app that could help? https://x.com/rafalwilinski/status/1830911922805551560
Rafal Wilinski (@rafalwilinski) on X
Can you build a full-stack AI app on @cloudflare? The answer is: absolutely. 🔥 Introducing "Fullstack Cloudflare RAG" aka Chat with PDFs solution built 100% on Cloudflare using only their services. Link to demo 👇
From An unknown user
Twitter
Kraii
Kraii2mo ago
are the beta models still free and unlimited? or does it count towards the free limit now
tadhglewis
tadhglewis2mo ago
Cloudflare Docs
Pricing | Cloudflare Workers AI docs
Workers AI is included in both the Free and Paid Workers plans and is priced based on model task, model size, and units.
Kraii
Kraii2mo ago
yeah I checked that, it doesn't mention about beta models so I came here to confirm
tadhglewis
tadhglewis2mo ago
Standard models are large image models such as @cf/stabilityai/stable-diffusion-xl-base-1.0...
It lists this model in the pricing, which is beta.
cloudwhere?
cloudwhere?2mo ago
Hi everyone! I need some help with integrating Cloudflare with mailchimp. Specifically, I’m looking for guidance on how to copy and paste the CNAME and A Record codes from mailchimp into Cloudflare in the right places without messsing up my company's connections, Where exactly should I put them? Any tips or steps would be greatly appreciated
thousandmiles
thousandmiles2mo ago
does gemini on workers ai support streaming and tool use?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Razmjoo
Razmjoo2mo ago
Hi everyone, is there any way that we can request a new embedding model to be added to the list? one of the top MTEB Leaderboard > Bitext models is not available, and it would be great to have it in deployed models for workers https://huggingface.co/intfloat/multilingual-e5-large
Want results from more Discord servers?
Add your server