4,341 questions
-2
votes
0
answers
21
views
Google GEMINI API migration response
I am trying to build an AI chat bot into my REST API. I am working with python(FAST API).
I followed the docs and I noticed they have migrated and both old SDK and new SDK still give me the same ...
0
votes
0
answers
45
views
How to add current page URL to the voiceFlow AI agent Transcripts
How can i add the URL of the page (where the user opened the chatbot) to the Transcript of VoiceFlow AI agent? This will help us to understand which website pages users are asking their Questions! I ...
-2
votes
0
answers
22
views
Recommendations to implement Service bus or not [closed]
I am building a chatbot for 100 concurrent users. I have used Fastapi at the backend. The current thinking is that when the user submits a query, an endpoint is called which processes the query then ...
-7
votes
0
answers
29
views
How to make a schedule with user input [closed]
I'm working on my helpful exam assistant project and i want to my chatbot do weekly schedule with the user input as frontend look good. So how can i do that. Thank you<3
-1
votes
0
answers
35
views
Deploying a Q&A bot to MS Teams [closed]
I have created a chatbot application on Databricks and served it on an endpoint. I now need to integrate this with MS Teams, including displaying charts and graphs as part of the chatbot response. ...
0
votes
0
answers
67
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
1
answer
48
views
How can I correct my JSON Response? It is not working on DialogFlow
DialogFlow sends to webhook a request for a file using CPFCN.
Webhook returns the PDF File on JSON Format but it is not working. What is wrong with my JSON response?
{
"fulfillmentText": &...
-1
votes
0
answers
23
views
FastAPI fullfilmentmessage for DialogFlow - pdf file [duplicate]
I´m using FastAPI as Webhook with DialogFlow.
The DialogFlow intent sends a text parameter to Webhook (function below) and FastAPI has to return a pdf file.
The function code (inside FastAPI) is ...
0
votes
0
answers
29
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 ...
0
votes
0
answers
38
views
How to Automatically Detect User's Language in Botpress WebChat Before Initialization?
I am integrating Botpress WebChat on our WordPress site and want to automatically detect the user's language based on the website's attribute.
What I Have Tried So Far:
Passed Language Directly in ...
1
vote
1
answer
34
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
0
answers
22
views
React Simple Chatbot: Dynamically Updating Options Not Reflecting Changes Despite State Update
I'm using react-simple-chatbot in a React application and encountering an issue where dynamically updating the chatbot's options doesn't reflect the changes on the UI, even though the state is ...
0
votes
1
answer
60
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 ...
-1
votes
1
answer
744
views
Why am I getting RuntimeError: no running event loop and in my VS code when I am trying to run my command streamlit run main.py?
I am trying to build a conversational chatbot using VS Code. The code is following:
## RAG Q&A Conversation With PDF Including Chat History
import streamlit as st
from langchain.chains import ...
0
votes
0
answers
61
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 = "--------...