Skip to main content

Questions tagged [chat-gpt-4]

The tag has no usage guidance.

chat-gpt-4
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Utilizing Artificial Intelligence for Location Data Collection from Websites [closed]

I have a project where I need to collect information about some locations from certain websites. Initially, I used a web scraper and utilized Selenium and Beautiful Soup to write a bot. However, some ...
user24550633's user avatar
-1 votes
0 answers
18 views

chatgpt Assistant APIs not sending the image links

I've uploaded a document to the ChatGPT knowledgebase that includes both text and image links. The file is correctly linked through the vector store with my Assistant. However, the AI only returns the ...
Usman's user avatar
  • 200
0 votes
1 answer
105 views

How to integrate GPT-4 model hosted on Azure with the gptstudio package?

I am looking to integrate the OpenAI GPT-4 model into my application. Here are the details I have: Endpoint: https://xxxxxxxxxxxxxxx.openai.azure.com/ Location/Region: yyyyyyyyyyyyyyyyyyyyyyyy Key: **...
Sinval's user avatar
  • 1,389
-1 votes
2 answers
74 views

gpt-4o model provider errror

I am working on a projejct and when i run an X function, it fails. When I log my eventData, I get an error "Failed to find a model provider for model [gpt-4o]. Is it because I'm not a paid user? ...
Faizan Khan's user avatar
0 votes
0 answers
25 views

OpenAI Function Calling - function_call="auto"

Below is my function calling code and the schema. Notice that I have put function_call=“auto”. Per the documentation, this means that the model must freely pick between generating a message or a ...
VIRIYALA NARESH's user avatar
0 votes
1 answer
186 views

BadRequestError: Context length exceeded the 8192 token limit, resulting in error code 400

I am building a chat flow in Azure AI studio. The goal is to have 3 index lookup and have the LLM compare the difference. However, if I set top_k as 3, I would have the following error as the LLM ...
GKecheng's user avatar
0 votes
2 answers
71 views

Unexpected result when sending a prompt containing HTML code to OpenAI API

I try to send a prompt containing raw text and HTML code in order to fix spelling errors. E.g. a prompt would be: fix spelling and grammar in the following html code <p>this is som txt which ...
Abid's user avatar
  • 650
2 votes
2 answers
7k views

"Failed to get upload status for /mnt/data/*filename*" Issue downloading files generated by ChatGPT

I'm working on a project where I need to extract employee information from an HTML file, save this data into a JSON file, and download employee images to a specific folder. I used ChatGPT to generate ...
Yasir Arefin Tusher's user avatar
-2 votes
1 answer
40 views

Issues with LLM Retrieving Passwords from Provided Passages

I'm using a language model (LLM) and providing it with a passage that contains the password for a specific website. Later, I'm asking the LLM to retrieve the password from the passage, similar to a ...
Sanjay Mythili's user avatar
0 votes
0 answers
30 views

ChatGPT: How to track query status?

I am currently making my first steps in using ChatGPT in Java. I started with the sample for ChatCompletions (https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/openai/azure-ai-openai/src/...
NagelAufnKopp's user avatar
0 votes
1 answer
182 views

Formatting ChatGPT output problem with last bullet in list losing formatting

I wrote the following code that (tries to) formats ChatGPT output pasted int Word as pastespecial unformatted. In processing, I had to do a double loop because everything would lose formatting as the ...
Miguel de las Nieves's user avatar
0 votes
0 answers
58 views

Optimal way of using images as context in prompt for GPT4

I’m working on a classification task. I want the model to identify if the issue mentioned in a table is related to a specific topic. To do so I initially provided text only for context. I would now ...
Amac's user avatar
  • 1
0 votes
0 answers
28 views

Issue with Counter Questions with GPT-4 Vision API

I'm currently working on a project that involves using the Vision Open API. However, I've encountered an issue with counter questions where OpenAI doesn't recognize older messages. I discovered a ...
Rupesh Parmar's user avatar
0 votes
0 answers
56 views

OpenAI API Integration in Django: Request Getting Lost on Server

I have integrated the OpenAI API into my Django project for generating dynamic descriptions for tables generated in my application. The workflow involves processing user input, generating tables, and ...
user4906240's user avatar
-1 votes
1 answer
305 views

Using ChatGPT4 Vision in ASP.NET Core [closed]

I am working on a web application with openai integration. I have the standard chat prompt and response implemented, but I am having issues accessing the vision api. All of the examples I can find are ...
Tim Eggenberger's user avatar
0 votes
0 answers
110 views

GPT4 image prompts

I am getting this error while trying to attach image to my prompts in GPT4. Can anyone help me with this?GPT4 error message I wanted basic image analysis from GPT4 which I have done many times in the ...
user23805636's user avatar
0 votes
0 answers
183 views

Building a Application with ChatGPT API: Managing Conversations for Multiple Users

I'm developing a application that utilizes the ChatGPT chat completion API to facilitate conversations between users and an AI. The application should allow multiple users to interact simultaneously, ...
Omkar Patne's user avatar
0 votes
1 answer
540 views

Output parse as list of dictionaries in LLM agent

I want to get the holidays and it's date from LLM agent as a list of dictionary. Following is the code I have used from langchain.agents import AgentType,initialize_agent,load_tools from langchain....
Kalindu's user avatar
  • 29
0 votes
0 answers
36 views

Refactoring react app to separate UI (a la MVC)?

We are working on an Open Source (AGPL) Chrome extension: Digital Assistant Client We have a React application which is developed without using redux. We have had multiple requests for custom UI. We ...
Yureshwar Ravuri's user avatar
-1 votes
1 answer
58 views

Regenerate option in RAG system

I'm trying to implement a PPT content generator using the GPT-3.5-turbo-16k model from Azure OpenAI. The client wants to have a Regenerate option included in the UI, so if the client/user feels the ...
Gokul Achin's user avatar
0 votes
0 answers
45 views

Troubleshooting OAuth integration with the GPT API

The OAuth integration for our system, including the GPT API, is encountering an issue where the GPT fails to call the token endpoint after correctly handling the Authorization process. This results in ...
shreyas's user avatar
0 votes
0 answers
47 views

GPT-4 doesn't seem to be set when I'm using the Node.js API

I have set up GPT-4 model for chat completions, and I sent a simple question through the API "what is the model you using for generation text"? and i got the funny ansewer: "I am ...
free developer's user avatar
0 votes
0 answers
157 views

Text to speech in chat GPT streaming response with google cloud api in next js

I want to implement Google Cloud text-to-speech API in the streaming response of chat GPT in such a way that if first sentence i got call the API and audio will start play a second time 2 sentence ...
RAHUL KUMAR's user avatar
0 votes
0 answers
50 views

Getting Error while integrating the chat gpt into Power BI

(message as text ) as text => let url = "https://api.openai.com/v1/chat/completions", apikey = "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" , headers = [ #"...
Himansu23's user avatar
0 votes
0 answers
65 views

How can I create multiple operations for the same domain on GPT Builder?

I am looking to feed back different responses from my server based on the query which a person enters on my custom franchising ChatGPT. I have created an operation action which listens for the term &...
RodneyUK's user avatar
0 votes
0 answers
26 views

Warning message on Terminal for macOS Sonoma14.1 - What does this mean and how can I, and *should I*, bypass this? [duplicate]

I am a beginner Coming across a warning message that reads as follows: WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate....
Nismath Thasleem's user avatar
0 votes
1 answer
309 views

Passing questions to ChatGPT via URL

So officially you cannot pass ChatGPT questions via the browser URL (only via API), unofficially however, I've gotten very close by creating a user script, which essentially reads a parameter I pass ...
brooklynsweb's user avatar
0 votes
1 answer
2k views

Azure OpenAI and token limit

I want to use GPT model to analyze my data. Data is a suite of records (e.g. 1000 records) with 10 or even more properties. I want to say GPT (or other model): "please, analyze this data and ...
Oleg Sh's user avatar
  • 8,875
0 votes
0 answers
31 views

human handoff Conversation transfero admin

I'm implementing a custom ChatGPT using LLM-index. I want to transfer the chat to the admin if the user asks anything about talking to the admin. Additionally, I want to store booking data (date, time,...
Haroon Zia's user avatar
4 votes
0 answers
229 views

GPT-4 returning text-based prompt instead of returning the function call designated to do the same prompt

I'm using Azure OpenAI for implementing a conversational AI using GPT-4 to act as an assistant for resolving user queries. The assistant is supposed to follow a predefined set of instructions, ...
Nimish David Mathew's user avatar
0 votes
0 answers
99 views

Unable to Identify GPT Model Version with OpenAI Chat API

import os from openai import OpenAI os.environ["OPENAI_API_KEY"] = "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" client = OpenAI() response = client.chat.completions.create( model=&...
Muzamil's user avatar
  • 33
0 votes
1 answer
3k views

How to change Github Copilot settings in VSCode to increase the token limit to 4098 or 8196 (as promised by Microsoft)?

How can I change Github Copilot settings in VSCode to increase the token limit to 4098 or 8196 as promised in the Copilot product announcements and documentation? OpenAI is supposed to provide a 32K ...
Rich Lysakowski PhD's user avatar
0 votes
0 answers
19 views

Managing Concurrent PDF Uploads: How to Dynamically Link Questions to Specific PDF Files for Seamless Communication with ChatGPT?

In my current project, I'm dealing with a scenario where multiple PDF files are being uploaded simultaneously. While implementing this functionality, I've encountered a challenge related to ...
sheraz zafar's user avatar
0 votes
0 answers
62 views

SlackBot with ChatGPT using AWS Serverless APIGatway

I am working an chatgpt slackbot using AWS serverless framework. But It's only working on local environment and having slack authentication issue once deployed. [INFO] Invalid request signature ...
smiley717's user avatar
0 votes
0 answers
1k views

Langchain model to extract key information from pdf

I was looking for a solution to extract key information from pdf based on my instruction. Here's what I've done: Extract the pdf text using ocr Use langchain splitter , CharacterTextSplitter, to ...
Webster's user avatar
  • 1,143
0 votes
0 answers
114 views

How to include browsing and web search in a prompt with few shot examples for ChatGPT?

I'm including few shot examples for a custom GPT with Web Browsing enabled. I would like ChatGPT to browse all user provided links before answering. What keywords should I include in the few shot ...
Mark Horvath's user avatar
  • 1,156
1 vote
0 answers
67 views

Java android output from chatgpt in commercial use

I have one Question Can I use a generated code from chatgpt for commercial use ? If so, what do I have to do to be able to use the generated code ? I try ask help desk but I do not have an answer and ...
Adam Adam's user avatar
0 votes
1 answer
906 views

Redirect to login page after successful login at chatGPT openai

When ever I log into the openai.com I get an error in console and then get redirected to login page. I've tried incognito mode and VPN services but it was not fixed P.S I'm living in Iran right now.
Farhad's user avatar
  • 612
0 votes
0 answers
128 views

How to build My ChatGPT-like Model using My Knowldge base and some Foundation Model?

Let's consider Openai's GPTs platform. They let you "build" your own chatGPT like model with your knowledge base and your system prompt. How did they do it so well? Using their API or Palm's ...
Rubens Kaiserman's user avatar
0 votes
1 answer
1k views

Chat GPT 4 API connect with PHP using file upload feature

I am trying to connect to gpt-4 API using php. I have a paid account and a valid API key. I use the API key all the time, with gpt-3.5.-turbo model. I have created an assistant in my account. I want ...
Fllorinaaa's user avatar
1 vote
1 answer
616 views

Langchain - Chat History with Embedded Data not working

I'm trying to embed some data to gpt-4-1106-preview and chat on it. You may think like chatPDF. But my problem is, ChatGPT answers the question but doesn't remember our chat history. Here is the code, ...
fobus's user avatar
  • 1,968
0 votes
0 answers
181 views

Guidance Needed on Integrating OpenAI API for Voice Chatbot with Call Receiving and Answering Features

Hello Stack Overflow Community, I'm currently delving into creating a voice chatbot using OpenAI's API and I've hit a bit of a snag. My core understanding revolves around the chatbot creation itself, ...
Rahees Ahmed's user avatar
0 votes
1 answer
885 views

Ollama with Docker

Hi Can you help me to debug this: I pushed llama2 docker and i'm calling it using a link https and it is up I pulled llama2:70b to this instance. I have "Ollama is running" in my browser i ...
Mahdi Menacer's user avatar
0 votes
0 answers
136 views

Separate Cognitive Search query from ChatGPT interaction without losing citations

Azure's OpenAI service allows you to pass in an AzureChatExtensionConfiguration and have it run a cognitive search query against your data, passing the results to ChatGPT for 'context'. Is it ...
Sean's user avatar
  • 14.9k
1 vote
0 answers
87 views

How to keep ChatGPT responses within a topic?

I am working on a chat app which uses ChatGPT to give them some insights on a particular topic Lets say Topic is : "Colors" Now ChatGPT Responses depend upon what user has typed. How can I ...
Hussain Murtaza's user avatar
0 votes
0 answers
61 views

ChatGPT user prompt query to compare values in SQL Server table

Can anyone help in sharing chat-gpt user prompt message to get below metrics from SQL Server Table SQLTable: APIResponse APIName ResponseTimeInSecs RunID RunDate API1 5 22 2023-11-22 2009-06-15T13:...
Kumar's user avatar
  • 423
1 vote
0 answers
896 views

How to generate description for image using Chat GPT API using "gpt-4-vision-preview" in Laravel?

Here's with this code i want to generate description for the provided image with the help of Chat GPT API using "gpt-4-vision-preview" model. But the cide is not working. Please help. <?...
Shubham Sharma's user avatar
8 votes
2 answers
19k views

Upload a pdf to chat gpt using the API?

The web interface for ChatGPT has an easy pdf upload. Is there an API from openAI that can receive pdfs? I know there are 3rd party libraries that can read pdf but given there are images and other ...
Muhammad Mubashirullah Durrani's user avatar
-2 votes
1 answer
582 views

Building public GPTs for own PDFs

I tried creating a GPT on OpenAI by uploading a PDF. It worked well from the UI and was able to answer questions. But when I sent the link to some one they need to be ChatGPT plus users to use it. So ...
dbeings's user avatar
  • 75
0 votes
1 answer
147 views

OpenAi ChatGPT Start of EventStream Messages Not Valid

With php I implemented the ChatGPT API using StreamedResponse which worked fine so far but I started to encounter a strange behaviour I have no explanation for. The first $data response is suddenly ...
greeven's user avatar
  • 110