All Questions
850 questions
-2
votes
0
answers
24
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 ...
-7
votes
0
answers
30
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
0
votes
1
answer
49
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
30
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
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
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
0
answers
39
views
How to include structured data in OpenAI fine tuning dataset?
How do i include structured data about businesses in fine tuning dataset. Example:
[
{
"id": 1,
"name": "Test 1",
"rent": "$10,...
0
votes
0
answers
24
views
How to main multiple sessions in python for a Chatbot
where the I will receive the token to my first endpoint from the front end when the user connects to the bot, I will decode that token and extract the details such as Db conn string user id and so on. ...
0
votes
0
answers
70
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 following error:
import os
import dotenv
from langchain.prompts ...
0
votes
1
answer
105
views
llama3 responding only function call?
I am trying to make Llama3 Instruct able to use function call from tools , it does work but now it is answering only function call! if I ask something like who are you ? or what is apple device ? it ...
0
votes
1
answer
348
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
0
answers
38
views
Using Streamlabs API through personal access token
Is it possible to use the Streamlabs API through my personal access token, which can be found under Settings > API Settings > API Tokens > Your API Access Token?
I am not successful yet.
The ...
0
votes
1
answer
238
views
Indexing excel files in Azure
I stored excel files in Azure Blob Storage and now I am trying to index the excel files using Azure AI Search but I could not do it. Everytime I try,it throws an error notification saying failed to ...
0
votes
1
answer
79
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 ...