Skip to content

Commit a2c1913

Browse files
authored
[API] change app_code and app_endpoint (#1179)
1 parent 6708e8f commit a2c1913

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

vlmeval/api/jt_vl_chat.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from vlmeval.dataset import img_root_map
1010

1111

12-
API_ENDPOINT = 'https://jiutian.10086.cn/kunlun/ingress/api/h3t-eeceff/92390745235a40a484d850be19e1f8b4/ai-5d7ae47ec93f4280953273c4001aafee/service-7544ea5ee3e841ad9d01e7af44acef7c/v1/chat/completions' # noqa: E501
12+
API_ENDPOINT = 'https://jiutian.10086.cn/kunlun/ingress/api/h3t-dfac2f/92390745235a40a484d850be19e1f8b4/ai-15d6aa0e25df4a698662fcfd9b101bbe/service-46e2b9001b1e43f7941f7ccd1c9a6f4e/v1/chat/completions' # noqa: E501
1313
APP_CODE = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI5ZGQwNmQ2ZjU4YTU0ZGY0OGEzNjRhMjQyNGMwODEyNSIsImlzcyI6ImFwaS1hdXRoLWtleSIsImV4cCI6NDg4MjkwNDA3OX0.k5t_T-955xWMndzBbx4WQQNAgm5DpMos9mHm7vkFipQ3yebCFMfyufpSxORSfEVpBaDS3Nly0dd8ygQYGnDgIQcC72vQ1xtkjCP49LNcqlceoET4rGc1zwRi76XLPSGFES4GcwvEmr7Ilth7XtqZNxcDF_Z7HyHyf1-zF0JIQETYSoxenqLU-gNteNfqRUnlyCgaKh03DscAbYvtoMUxEaFa2ZqyRSwekdHI_SPKCq9aC9G19yDPHTjeiwl1ubtyC5uMy5pERn_ClRsZS3Wyb-GmD5QQsFofrWvCiU_fVJuUiez39pYZvEP8awH0R9B7SkpQ4XOzj3fdytTPYy3g6g' # noqa: E501
1414

1515

@@ -173,7 +173,9 @@ def get_send_data(self,prompt, image_path, temperature, max_tokens):
173173
],
174174
"image_base64": image,
175175
"max_tokens": max_tokens,
176-
"temperature": temperature
176+
"temperature": temperature,
177+
"do_sample":False,
178+
"understanding_plus":False
177179
}
178180
return send_data
179181

@@ -186,7 +188,9 @@ def get_send_data_no_image(self,prompt, temperature, max_tokens):
186188
}
187189
],
188190
"max_tokens": max_tokens,
189-
"temperature": temperature
191+
"temperature": temperature,
192+
"do_sample":False,
193+
"understanding_plus":False
190194
}
191195
return send_data
192196

0 commit comments

Comments
 (0)