Questions tagged [openai-api]
OpenAI makes several AI products, including ChatGPT, Dall-E, Whisper. Use for questions about the OpenAI API, and not for general support.
openai-api
2,785
questions
-3
votes
0
answers
18
views
How to block GPT module scrapers [closed]
I would like to ask you for help. I am trying for two days to figure out how to block these scrapers like Webpilot and others GPT modules.
What I did so far:
Robots.txt: blocked most used gpt bots
...
0
votes
0
answers
8
views
pydantic core issue when trying to call ChatGPT in AWS Lambda Function
I'm working on an AWS project where a file is uploaded to a specific S3 bucket, which then triggers an AWS Lambda function. This function reads the uploaded JSON file, asks GPT to summarize the text, ...
0
votes
0
answers
17
views
Is there a problem with alexa integration with chatgpt openIA lately?
My code was working fine but now when i tried to call chatgpt Alexa keeps reprompting the intent and do not send request to openIA.
I tested the API_Key in with postman and it´s working good. Below ...
0
votes
1
answer
30
views
Unable to send a local image that isn't under wwwroot to openai using its new .NET library
I have an ASP.NET Core 6 Web API with the new official library from OpenAI (https://github.com/openai/openai-dotnet).
What I'm trying to do, is to use a local image file to OpenAI. The file isn't ...
0
votes
1
answer
9
views
"Assistants" has no attribute "files" in openAI assistants
assistant_file = client.beta.assistants.files.create(
assistant_id = st.session_state.assistant_id,
file_id = st.session_state.file_id
)
I have this code which I have to integrate but it's ...
0
votes
2
answers
66
views
OpenAI Error: 403 Country, region, or territory not supported [Python]
I have tried to run openai API in python with this code:
client = OpenAI(api_key='sk-...')
def response(question):
response = client.chat.completions.create(
model="gpt-4-turbo-preview&...
0
votes
0
answers
10
views
How to edit image by Dall e api in android
how to i can edit a guiding by a text by dall e api in android
by this when i make request it showing
Failed with error code 400
@Multipart
@POST("v1/images/edits")
suspend fun ...
0
votes
0
answers
22
views
Using Streaming Assistants API With Websockets
I’m developing a FastAPI application where I’m using WebSockets to send text deltas from an Assistant’s API event handler in real-time. However, the tasks responsible for sending these deltas remain ...
0
votes
1
answer
34
views
AzureChatOpenAI only uses one tool at a time
LangChain with AzureChatOpenAI is only ever calling one tool at a time.
When prompting the model to multiply and add two sets of numbers, I expect two tool calls, however only one tool is called, ...
-2
votes
0
answers
30
views
Building a chatbot using OpenAI and RAG [closed]
I’m trying to choose an approach for building an internal company chatbot using OpenAI and Microsoft stack. I am surprised that it’s hard to find a clear comparison of available options in Azure world ...
0
votes
0
answers
18
views
How can I view all the uploaded files associated with an Azure OpenAI assistant in Python?
I’m using Python to benchmark questions from documents and have instantiated my assistant in a jupyter notebook. I’d like to confirm the assistant has the files I uploaded to it but can’t seem to find ...
0
votes
0
answers
20
views
AI Chatbot Implementation and integration with Slack
I have to build a chatbot based on my compnay data. The data is in a pdf file. I want the chatbot to be trained in such a way that it answers any query that has an answer in the document. I dont want ...
-3
votes
0
answers
16
views
I have some questions regarding the Open AI API. Any good samaritan who wants to help me? [closed]
A pleasure to be part of.
I have some questions and I hope someone from the community can help me.
• ¿ Is it possible that the Open AI API will soon be completely free?
• ¿ How much is the ...
-1
votes
0
answers
14
views
OpenAI shop assistant does not provide link as is [closed]
I develop an assistant for retail store. I've uploaded our catalog as json files to vector storage in this format
[
{
"id": 2612120,
"title": "some title&...
0
votes
0
answers
13
views
Add vector embedded data from PDF's to PineCone using Langchain and OpenAI
I'm not sure what the alternative to .get() is for PineCone and Langchain. I want this code to run, but I keep getting an error that .get is not an attribute for Pinecone. I'm not sure what the ...