Questions tagged [azure-openai]
147 questions
1
vote
1 answer
yield not returning result immediately to caller api - C#8, IAsyncEnumerable
I am using .Net 6. My use case is to return stream data from "myapi" to a "middle api(BFF)" to client app in react.
I have a code in "myapi" endpoint that should yield a result as soon as it receives it -
myapi code -
public async…

s_v
- 132
- 1
- 14
1
vote
2 answers
How can I keep track of the expenses of each program separately when calling the same OpenAI GPT model deployed in an Azure instance?
I have an OpenAI GPT model deployed in an instance belonging to a resource in my Azure subscription. I have two programs that use this OpenAI GPT model. How can I keep track of the expenses of each program separately?
Example: I deployed the OpenAI…

Franck Dernoncourt
- 77,520
- 72
- 342
- 501
1
vote
1 answer
Azure Open AI Model Producing Unexpected Response
I have created a fine tuned model with custom dataset using Curie as base model. I am using Azure OpenAI service.
The model is trying to produce response with maximum possisble tokens. for example if max_token parameter is set to 200 then the model…

fahad shaikh
- 593
- 1
- 14
- 29
1
vote
1 answer
How to create a blob representation of a vector embedding in JavaScript to use with a Redis vector similarity search
Having a vector embedding like [1,2,3,4], I can create a blob byte representation with Python using the NumPy library using something like this:
np.array([1,2,3,4]).astype(dtype=np.float32).tobytes()
This will create an output that looks like…

Jonathan Doe
- 51
- 1
1
vote
0 answers
Azure openAI API error while processing the request
I met some problems when using Azure OpenAI API. Here is the error information:
The server had an error while processing your request. Sorry about
that! You can retry your request, or contact us through an Azure
support request at:…

Dylan Windler
- 21
- 3
1
vote
1 answer
jupyter notebook not opening in Azure ML studio
Is there something wrong with this file - https://github.com/Azure-Samples/Azure-OpenAI-Docs-Samples/blob/main/Samples/Tutorials/Embeddings/embedding_billsum.ipynb
When I download it and try to open it in azure ml studio, I get error Rendering…

Manu Chadha
- 15,555
- 19
- 91
- 184
1
vote
2 answers
Azure openai connection with javascript
I have created my chatbot with javascript and used open ai. I need to change it to azure open ai but can not find the connection details for javascript. This is how i connect with python :
import os
import openai
openai.api_type =…

Giorgi
- 15
- 3
1
vote
1 answer
Does anyone knows when will image from text will be available on Azure OpenAI Services?
That's pretty much it, I'm wondering if Azure OpenAI Services will integrate a DALL-E2 like service where I provide a description and it would generate an image.
Also, is there a roadmap somewhere, I wasn't able to find it myself...
I built a…

Zatiel
- 61
- 1
- 3
1
vote
1 answer
How can I provide both a ground truth and examples of Q&A to my OpenAI model?
OpenAI documentation about factual responses indicates it's possible to give my model a ground truth but I don't get how to do so.
I would like to provide a long documentation, for instance, thousand wikipedia articles, then provide examples of…

JulienBr
- 53
- 7
1
vote
1 answer
Azure OpenAI Embeddings vs OpenAI Embeddings
Is anyone getting different results from Azure OpenAI embeddings deployment using text-embedding-ada-002 than the ones from OpenAI? Same text, same model, and the results are considerably far in the vector space.
What's recommended for embeddings?

Ak123
- 39
- 6
1
vote
2 answers
how to disable sending telemetry and log data to open ai when using Azure OpenAI Service
I am working with security data and need to make sure we disable sending telemetry and log data to open ai when using Azure OpenAI Service
does anyone know how to go about it

prajwal rao
- 87
- 1
- 9
1
vote
1 answer
Grant users access to Azure OpenAI-Studio and/or GPT-3 Playground
I would be interested to know if you can use one of the BuiltInRoles to give users access to the Azure OpenAI-Studio and/or GPT-3 Playground only? I don't want to give users admin rights in my subscription or resource group just so they can work…

Jörg Beck
- 11
- 1
1
vote
3 answers
there is an official OpenAI nuget package to be able to use its api?
I want to use the openAI API in a console app project in Visual Studio but I don't know if they have released an official nuget package.
I understand that this is not true?
If they haven't released it, what is the best way to start testing their…

kintela
- 1,283
- 1
- 14
- 32
1
vote
1 answer
OpenAI API error: "AttributeError: module 'openai' has no attribute 'Embedding'"
According to OpenAi's documentation and a large number of demonstrations I found online, the following code should run without a problem in Python:
import openai
response = openai.Embedding.create(
input="porcine pals say",
…

ashap551
- 23
- 1
- 6
1
vote
0 answers
Create customized model option in OpenAI Studio says no models available
OpenAI access has been enabled on my subscription, however, when I try to use 'Create customized model' from the underlying base models to be able to fine-tune the data from a .jsonl file, it says there are no models available, check your access.
Is…

swasun99
- 11
- 2