Skip to main content

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.

0 votes
0 answers
11 views

Using openai API to get data from a specific website or Google in general

I have a list of OCLC number which is an unique identifier for books. I also have an openai api key. I'd like to use it to scrape the internet or if needed, the oclc.org website to get the genre of ...
Pearl's user avatar
  • 1
0 votes
0 answers
7 views

How to stop Semantic Kernel function automatically filling in parameters?

I'm using ai to take an input from a user then based on the users input the ai will decide on what function to call. I'm using Microsoft semantic kernel, function calling method to do this. Foreach ...
FriedBrain's user avatar
-1 votes
0 answers
34 views

cannot import name 'AzureOpenAI' from 'openai'

I'm getting this error when I'm trying to make a package and consume it in a flask app. I tried everything from switching to a more stable openai version to rebuilding my application. nothing seems to ...
Prachi's user avatar
  • 1
0 votes
1 answer
13 views

How to use WASM Tiktoken in React Webpack JS

The build issues due to wasm instantiate or wasm not being imported. wasm.__wbindgen_add_to_stack_pointer is not a function
Geeek's user avatar
  • 53
0 votes
0 answers
17 views

How Do I Pass Streaming Data from Nitro API to Pinia Store so I can use it in Nuxt Component?

In my Nuxt app I have a Pinia store and am making an API call via the Nitro server that gets streaming data in response. When I try to update the Pinia store with the streaming data it does not update,...
av0000's user avatar
  • 1,987
0 votes
0 answers
6 views

Llamindex + postgresql + openai Why Llamaindex send only 2 data of my database to openai?

i have postgresql database with over 100 000 verbatims (with tonality link to each verbatim) in it. I want to do a resume of all negative verbatim on this database. Right now my main problem is it ...
valentin garreau's user avatar
0 votes
0 answers
14 views

Why llm_chain.invoke(ques_VN) output is interrupted when it is being printed?

I have a problem related to using llm_chain.invoke() to return the answer from ChatGPT. More specificially, when I want the function to return the answer, the output cannot be completed and is ...
Golden Pham's user avatar
0 votes
1 answer
24 views

AzureOpenAI: Missing credentials of `api_key`, `azure_ad_token`, `azure_ad_token_provider`

I'm trying to use the Azure OpenAI model to generate comments based on data from my BigQuery table in GCP using Cloud Functions. Here's the Python script I've been working on: from azure_openai import ...
Badia Alfathi's user avatar
0 votes
0 answers
21 views

Langchain and OpenAI NLP to SQL generating Wrong Query

I am trying to create a chatbot which can take input and generate query based on fined tuned model and provided schema. It was working fine previously but now every scenario which was working fine is ...
Rayyan Ali's user avatar
0 votes
0 answers
9 views

Fixing PHP Extension Errors: Unable to Load mysqli and pdo_mysql on Ubuntu

I have to setup php with codeigniter without xampp server in ubunto but I am facing a lot of problem or it is not setup sometimes it starts giving warning in php version and sometimes error is shown ...
Arpit Sharma's user avatar
0 votes
0 answers
13 views

TypeError: Configuration is not a constructor . I am getting this error when using IenAIApi with nodejs

I am trying to use OpenAi's function calling. I have installed Axios, dotenv and OpenAi packeges like npm install openai@latest npm i axios npm i dotenv When I am trying to create configuration ...
Linu S's user avatar
  • 1
0 votes
1 answer
25 views

Error when tracing llm calls with Langsmith (Failed to get info from https://eu.smith.langchain.com) (Failed to batch ingest runs: LangSmithError))

I have an issue with lansgmith setup. I tried to search on the web for this issue, but could not find a solution. I follow these steps: Created a new fresh environment: conda create --name ...
Andrea Neri's user avatar
-1 votes
0 answers
18 views

In Triton Fused Softmax turorial, why is it ok to compute denominator within just the block?

https://triton-lang.org/main/getting-started/tutorials/02-fused-softmax.html # The stride represents how much we need to increase the pointer to advance 1 row row_start_ptr = input_ptr + row_idx * ...
lk.c's user avatar
  • 21
0 votes
0 answers
8 views

Whisper api transcribing in firefox but not in chrome

I want to transcribe my audio into text, so I am using the whisper v3-large model's api. I first send my audiofile to the server, where I use multer to allow for my request object to access the file ...
Abhijit Saha's user avatar
0 votes
0 answers
14 views

How to implement real-time responses in a Flask-based chatbot with OpenAI Assistants API?

I have a basic chatbot that currently waits for the backend to fully process and generate a response before displaying it to the user. During this wait, the user sees a "Typing..." message. ...
Josh's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
185