Blog
-
AI Engine User Location & Weather
Here are two functions you can add to your chatbots that will provide the user’s current location (city, region, country) as well as the current weather where they live. Disclaimer: These functions use third party services. The user’s IP will be provided to proxycheck.io (free access under 1000 lookups per day) when retrieving their location.…
-
AI Engine Modify Embedding Query
Here’s a snippet that lets you modify the text sent to Pinecone when using embeddings. This is a proof of concept and a starting point for customizing the way context is retrieved for your chatbots. Let’s enhance your business! I can help you develop custom AI engine extensions or broader AI strategies. Contact me.
-
AI Engine Image Generation Function Call
Want your conversational chatbots to be able to generate images on-the-fly? Updated for AI Engine 2.6.8 Here’s a snippet for Snippet Vault that will let you easily enable the function for your chatbots. It’s setup to use Flux Schnell from Replicate, so you’ll need a Replicate environment created and configured in AI Engine. If instead…
-
AI Engine Moderating Image Generation
This code runs a free OpenAI moderation check against both the query sent to your image generator as well as the generated image itself. Anything that scores above your thresholds gets rejected. Let’s enhance your business! I can help you develop custom AI engine extensions or broader AI strategies. Contact me.
-
AI Engine Translating Image Queries
How to automatically translate AI Engine image generation queries into English for better results. Let’s enhance your business! I can help you develop custom AI engine extensions or broader AI strategies. Contact me.
-
AI Engine Persistent Popup
This JavaScript will keep your chatbot open as the user navigates your website. Not only that, but it’ll make sure the conversation is up to date on all tabs.
-
AI Engine Error Handling
This JavaScript will recover the message sent by the user if they receive an error.
-
AI Engine Hallucination Fun
I recently had trouble with AI (chiefly GPT4o-mini) making up the results of function calls.
-
AI Engine Forms+
A form extension for AI Engine that adds progressively revealing forms, auto-filled inputs, output memory, editable form outputs, file uploads, as well as conditional display and prompt logic.
-
AI Engine Ask
Now here’s a cool plugin! You can add chatbots and assistants as guests who are aware of the conversation and have access to their own tools, embeddings, and instructions. Go ahead and try it out: Demo uses my Text-To-Speech plugin to give each bot their own voice. When a button is toggled on, all chat…