4,263 questions
1
vote
0
answers
45
views
Detecting human presence in a WhatsApp chat to pause a chatbot (Python)
I'm developing a WhatsApp chatbot in Python and want to implement a human handover feature. The goal is to temporarily pause the bot's automated responses when a human administrator opens the chat to ...
0
votes
0
answers
45
views
How to reduce latency in a context-aware chatbot with chart + dataset inputs
I’m building a chatbot for my research project that helps participants understand a chart. The chatbot runs on a website built with React.
My goal is to make it feel just like using ChatGPT in the ...
0
votes
1
answer
278
views
StreamElements Twitch Shoutout Command: parse out '@' symbol
I'm setting up commands for StreamElements on a Twitch channel. I'm looking to create a !shoutout command, which I can do easily enough through the following:
Check out ${1}, they are playing ${game ${...
0
votes
0
answers
332
views
Struggling in creating a multimodality chatbot using CopilotKit
While trying to build a chatbot leveraging the capabilities of CopilotKit and GPT-4o model. I am also using the frontend (React based UI) which is also supported by CopilotKit. What's happening is ...
0
votes
1
answer
3k
views
How to write chat template for llama.cpp? [closed]
I am trying to run the llama-cli tool in llama.cpp. However, I am encountering problems when talking to my model codellama-7b-instruct.Q5_K_M.gguf So I decided to use the conversation template. ...
3
votes
1
answer
171
views
Does Google Chat App Support Showing Typing Indicators?
I've developed a Google Chat app through a Google Cloud project (enabled the Google Chat API, created the app, and deployed it internally). The app is added to chats via the "New Chat" ...
1
vote
0
answers
818
views
How to get structured JSON output from OpenAI in n8n with custom extracted fields?
I'm trying to use the OpenAI integration in n8n to extract specific information from a client's message and return it in a structured JSON format.
For example, I want the assistant to extract values ...
0
votes
0
answers
44
views
GroqCloud API Issue
this is my python code
import streamlit as st
import pandas as pd
import requests
# ---------- FUNCTION TO FETCH API DATA ----------
def fetch_data_from_api(api_url):
"""Fetch data ...
1
vote
1
answer
96
views
I want to be able to send the file uploaded by pressing "Enter" and not a send button in streamlit
I'm trying to create a chatbot using streamlit. I want it to be possible to have a hybrid query of text and a file input. Right now I have created it so that I can click the send button and the input ...
0
votes
1
answer
148
views
How to Use Template in Langchain to Insert Results from Chain for Further Reasoning?
I'm working with Langchain and OpenAI to develop a conversational AI. I've integrated multiple tools into the chain and am using a template to structure the conversation. However, I'm stuck on how to ...
0
votes
0
answers
177
views
How to link feedback to the response message in Teams Bot - Bot Framework SDK
In OnMessageActivityAsync, I am getting an API response, adding feedbackLoop to channelData and calling SendActivityAsync.
var replyText = $" {APIresponse} ";
var seperator = "--------...
1
vote
1
answer
777
views
Chatbot UI Like ChatGPT in iOS SwiftUI
I am working on a chatbot app and want to implement a chat interface similar to ChatGPT's UI. When a user sends a message:
The previous messages should move out of view at the top.
The user's latest ...
0
votes
0
answers
41
views
Issues with ChatAI Implementation Using Poe API in Flutter
I am trying to implement a simple ChatAI application using the Poe API in Flutter, but I am encountering issues where the chat functionality is not working as expected. Here is my code for reference:
...
0
votes
1
answer
141
views
Is it possible to share an Azure-based RAG chatbot without requiring users to sign in with Azure?
I’ve been experimenting with Azure AI Foundry and created a Retrieval-Augmented Generation (RAG) chatbot that works great on its own. However, when I try to deploy the chatbot using Azure, I encounter ...
0
votes
0
answers
60
views
Command Bot generated Azure AD SSO token with Authprompt flow use in Identity server without login
command chat bot in ms teams and with sso authentication using Authprompt dialog.
Azure AD intra id setup completed with redirect uris
https://localhost:44310/signin-oidc
https://.ngrok-free.app/auth-...
0
votes
0
answers
162
views
LangChain: 'dict' object has no attribute 'replace' when using Chroma retriever
I am working on a chatbot using LangChain, ChromaDB, and Hugging Face models. However, when I try to run my script, I get the error:
'dict' object has no attribute 'replace'
Here is my code:
...
1
vote
0
answers
143
views
Issue with LINE Chatbot Rich Menu
I developed a LINE chatbot using Google Apps Script and encountered an issue while working with the rich menu. After generating three menus, I attempted to switch between them using richMenuSwitch. I ...
0
votes
1
answer
612
views
WhatsApp Business API requires that the user sends the first message before the business can reply
I checked the WhatsApp Business API documentation and couldn’t find a direct way to start a conversation without the customer initiating it.
Currently, I can send messages only after receiving a ...
0
votes
1
answer
64
views
How do I deploy my RASA chatbot backend If I used a third party service for my frontend
I deployed the frontend of my RASA chatbot through netlify. The frontend works but the bot doesn't respond. Now I don't know how to deploy the backend of my bot.
I tried some backend deployment ...
0
votes
1
answer
1k
views
Error 400: Missing 'functions[0].name' Parameter in Function Calling API for GPT-4o-mini, GPT-3.5, and GPT-4-0613 Models
I am developing a shopping assistant Chatbot. While using function calling APIs, I get an error. The "auto" does not seem to fetch any function. I use "gpt-4o-mini" model.
I ...
0
votes
1
answer
157
views
Azure OpenAI GPT-4 Chatbot in Teams: Unable to Enable Streaming Messages"
I’ve built a chatbot using Azure OpenAI with GPT-4o. The chatbot is deployed as a Teams application and works as expected. However, I want to enable streaming messages, but it’s not working as ...
0
votes
0
answers
51
views
How to get image metadata into useChat within Svelte?
I am writing a ChatBot using Svelte and am using the useChat function to interface with my backend to talk to an LLM.
<script lang="ts">
import ChatList from '$lib/components/...
0
votes
1
answer
118
views
Initializing Hugging Face Transformer restarts program loop
Initializing hugging face transformer causes loops to restart. I have created simple loop which reads text and replies but the loop is restarting new thread when initalizing chatbot pipeline. Minimum ...
0
votes
1
answer
222
views
Using Aws Lex V2 with Aws Connect for a self-managed voicebot and chatbot
there,
I have configured an Amazon Lex V2 bot with different intents and I would like to have a voicebot and chatbot that can be used with Amazon Connect. I have tried different solutions by testing ...
0
votes
0
answers
111
views
Integrate Google DialogFlow with Whatsapp business number without 3rd Party
I want to integrate Google DialogFlow with WhatsApp Business number in my application without using any paid 3rd party API. I searched many platforms like Twilio, AiSensy,
Kommunicate and many more ...