Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2afc24a8d9 |
@@ -667,7 +667,7 @@ def ocr_and_extract_info(image_path: str):
|
|||||||
# or getattr(settings, "ZAI_BASE_URL", "")
|
# or getattr(settings, "ZAI_BASE_URL", "")
|
||||||
# or "https://open.bigmodel.cn/api/paas/v4/"
|
# or "https://open.bigmodel.cn/api/paas/v4/"
|
||||||
# )
|
# )
|
||||||
client = ZhipuAiClient(api_key="fb83a3f91e8c4e45af811236548765a2.cX4kUhigHm7VNowf")
|
client = ZhipuAiClient(api_key="982e9dc9d27a4f2f9db7e9effdb3c484.OfiJCdncJnTn0Q9h")
|
||||||
types = get_type_list()
|
types = get_type_list()
|
||||||
chat_completion = client.chat.completions.create(
|
chat_completion = client.chat.completions.create(
|
||||||
messages=[
|
messages=[
|
||||||
|
|||||||
Reference in New Issue
Block a user