Skip to content

Commit 6d9f9a4

Browse files
author
adityatomar
committed
Change model
1 parent 3ceed6e commit 6d9f9a4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apis.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
from azure.kusto.data import KustoConnectionStringBuilder, ClientRequestProperties, KustoClient
44
from azure.kusto.data.exceptions import KustoClientError, KustoServiceError
55
import os
6-
import utils
7-
import pandas as pd
86
from openai import AzureOpenAI
9-
import json
107

118
# Defining constants
129
OPENAI_DEPLOYMENT_ENDPOINT = "https://azureopenaiforstore-events.openai.azure.com/"
13-
OPENAI_DEPLOYMENT_NAME = "o3-mini"
10+
OPENAI_DEPLOYMENT_NAME = "gpt-4"
1411
API_VERSION = "2025-01-01-preview"
1512

1613
# Initialize Azure OpenAI client

app.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import kustoQuery
33
import apis
44
from azure.kusto.data import KustoClient
5-
from azure.kusto.data.exceptions import KustoServiceError
6-
from azure.kusto.data.helpers import dataframe_from_result_table
75

86
from flask import (Flask, redirect, render_template, request,
97
send_from_directory, url_for)

0 commit comments

Comments
 (0)