Questions tagged [azure-openai]

147 questions
0
votes
4 answers

Azure Open AI - Add your Data not working

I created a Azure Open AI resource in Azure, and then followed the steps to create a Azure Cognitive search resource and was able to successfully connect Search to My Azure SQL DB. I tested the search and it was returning the data it has indexed…
Azure Dev
  • 61
  • 2
  • 9
0
votes
1 answer

Azure OpenAI AI Studio playground error - Completions call failed

We are getting error message "Completions call failed" in Azure AI Studio playground using GPT-3.5 when generate deployment and testing in Chat session. Has anyone encountered the similar issue? ErrorMessage Looking for a solution to resolve the…
LEE HinYu
  • 1
  • 1
0
votes
2 answers

Unable to retrieve prices and legal terms when creating Azure OpenAI service

I am trying to create an Azure OpenAI service, but in the final 4th step (Review + submit) I repeatedly encountered an error: Unable to retrieve prices and legal terms I cannot create the resource, the Create button is disabled. Our application…
szedjani
  • 550
  • 2
  • 6
  • 21
0
votes
0 answers

Chatting with PDFs using Lang chain

''' bot.gpt_turbo = Model_LLM(OPENAI_DEPLOYMENT_NAME, openai.api_version).model embeddings = OpenAIEmbeddings(model=OPENAI_EMBEDDING_MODEL_NAME) fileLoaded = FileLoader("Data/filename.pdf", TokenTextSplitter(chunk_size=1000,…
0
votes
1 answer

does Azure OpenAI have access to the same knowledge base as GPT web page

When I run a query on chatGPT webpage to ask for the president of France in 2015 for example, the program queries a knowledge base on Azure. When I run the same query using Azure OpenAI service (I know they use the same models), I know I can use my…
zip
  • 3,938
  • 2
  • 11
  • 19
0
votes
0 answers

Getting inconsistent response when using pandas_dataframe_agent and taking too much time for execution

def create_pandas_dataframe_agent( llm:llm, df:df, #callback_manager: Optional[BaseCallbackManager] = None, prefix: str=PREFIX, suffix: str= SUFFIX, input_variables:str= None, verbose:bool=False, …
0
votes
1 answer

"Public access is disabled. Please configure private endpoint." even though private endpoint configured for Azure OpenAI Service

I'm deploying Azure OpenAI Service via Terraform, and I want to set up a private endpoint for it. The docs and this article suggest that, besides a private endpoint, I need a private DNS zone containing an A record for the private endpoint. It looks…
edo
  • 1,712
  • 1
  • 18
  • 19
0
votes
1 answer

OpenAI API, ChatCompletion and Completion give totally different answers with same parameters. Why?

I'm exploring the usage of different prompts on gpt3.5-turbo. Investigating over the differences between "ChatCompletion" and "Completion", some references say that they should be more or less the same, for example:…
franfran
  • 113
  • 1
  • 9
0
votes
1 answer

The proxy tunnel request to proxy 'http://ukixe-psg-f15-22.uk.kworld.kpmg.com/' failed with status code '407'." when I use openAI client

I am trying to use azure open AI service in dotnet core 6.0 application. getting proxy error when I call GetCompletions() var key = "somekey"; var httpClient = GetProxyHttpclient(_configuration); //OpenAIClient client = new…
karunakar bhogyari
  • 622
  • 1
  • 8
  • 16
0
votes
1 answer

Fine-Tuning Azure OpenAI Model for a custom dataset

I want to fine-tune chatgpt davinci model on my own dataset. I have written some code but its giving me the API-Key error. I am using windows and below is code: import os import openai import pandas as pd import config.config as config import base64…
0
votes
1 answer

Make PandasAI retain context

I am working on PandasAI and want to retain the context to what I asked and what it responded to continue the contextual conversation. Tried a few things but it takes every query as a new standalone query. Reference Code -…
Archit
  • 33
  • 6
0
votes
0 answers

Is there a way to update playground openai.api_version?

I have deployed the latest gpt-35-turbo model, with model version '0613', however, when I tried to test it in chat playground, I realized that openai.api_version remains "2023-03-15-preview", and I could not find a way to update it to the latest…
jazz
  • 31
  • 6
0
votes
0 answers

How can Azure Open AI Service map subfields of an Edm.ComplexType field from an Azure Cognitive Search index?

I created an Azure Cognitive Search resource populated with the cosmosdb hotels-sample database from the Samples. I created an index using the defaults (no cognitive skills, nor customization of index). So this is how my index looks like: By using…
0
votes
1 answer

Unable to add data in Azure Open AI Studio

I'm getting error 'We couldn't upload your data This request is not authorized to perform this operation. Request ID - XXXX, Time - xxxxxx' while trying to 'Upload files' in Azure Open AI service. I want to upload a word document so the model can…
0
votes
0 answers

Getting 'Unauthorized' Result from Azure OpenAI Embeddings API

I have the following code that returns 'Unauthorized'. I am puzzled. Identical code with OpenAI Key (not Azure) and OpenAI URL produce 200 results. What am I doing wrong? The only thing is: Am I authorized to place a call from West US (California)…
Leon
  • 165
  • 12