cameronking4 / VapiBlocks

Vapi Blocks is a library of components & api snips to copy and paste into React applications built with TailwindCSS for integrating Voice AI into your application using Vapi.ai. Vapi let's you develop voice AI fast, Vapi Blocks helps you implement faster.
https://vapiblocks.com
MIT License
37 stars 5 forks source link

no issue #2

Open admineral opened 3 months ago

admineral commented 3 months ago

haha the coding assistant with voice and codesandbox is very nice!

cameronking4 commented 3 months ago

Thanks! Hoping to flush it more

admineral commented 3 months ago

I’ve been trying to send a photo of CodeSandbox render to the AI for feedback, but the photo always shows up as white. Maybe you know a trick ?

cameronking4 commented 3 months ago

Could you share screenshot or steps to repro?

It is a little buggy.

admineral commented 3 months ago

Sorry for the misunderstanding. I'm working on a similar project using GPT and CodeSandbox, not your repository.

In my project, I've been experimenting with different React libraries to take screenshots. The goal is to create a feedback loop where I can send a screenshot of the code preview, generated by the AI, back to the model for feedback.

However, I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).

The project I'm working on is called "Reactor" and it's available on my GitHub profile, though I havent pushed the screenshot experient version. Maybe you can help with this?

cameronking4 commented 3 months ago

Oh I see. Puppeteer is pretty good for taking web screenshot programmatically

cameronking4 commented 3 months ago

Checkout my repo sketch2app and scroll up to previous commits, it demonstrates how to dynamically show react apps / react native apps with codesandbox rendered inside the app. It uses a package called sandpack which lets you pass json full of code.

admineral commented 3 months ago

I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).

muazshahid commented 2 months ago

@cameronking4 Thank you for you work with VAPI, this repo has been a huge help.

I was trying to add the coding assistant demo to my app but I am unable to do it as mentioned in the docs, I have setup the basic component but have no idea on how you setup the assistant for it? Is there any guidance you could provide on that, it would be of great help.

Thank you.

cameronking4 commented 2 months ago

Ah Yes please email me I'll send you my setup my Vapi dashboard.

cameronyking@gmail.com