Spaces:
Running
Running
jianghuyihei
commited on
Commit
•
2510933
1
Parent(s):
2d7cd9d
update api
Browse files
LLM.py
CHANGED
@@ -63,6 +63,11 @@ class openai_llm(base_llm):
|
|
63 |
api_version= "2024-02-15-preview"
|
64 |
if api_version == "":
|
65 |
api_version = None
|
|
|
|
|
|
|
|
|
|
|
66 |
self.client = AzureOpenAI(
|
67 |
azure_deployment= deployment,
|
68 |
azure_endpoint=endpoint,
|
|
|
63 |
api_version= "2024-02-15-preview"
|
64 |
if api_version == "":
|
65 |
api_version = None
|
66 |
+
print(f"current api version: {api_version}")
|
67 |
+
print(f"current model: {model}")
|
68 |
+
print(f"current deployment: {deployment}")
|
69 |
+
print(f"current endpoint: {endpoint}")
|
70 |
+
print(f"current api_key: {api_key}")
|
71 |
self.client = AzureOpenAI(
|
72 |
azure_deployment= deployment,
|
73 |
azure_endpoint=endpoint,
|