dashscope 1.22.2__py3-none-any.whl → 1.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dashscope might be problematic. Click here for more details.
- dashscope/__init__.py +3 -1
- dashscope/aigc/__init__.py +2 -0
- dashscope/aigc/chat_completion.py +282 -0
- dashscope/aigc/code_generation.py +2 -0
- dashscope/aigc/conversation.py +2 -0
- dashscope/aigc/generation.py +2 -0
- dashscope/aigc/image_synthesis.py +2 -0
- dashscope/aigc/multimodal_conversation.py +2 -0
- dashscope/aigc/video_synthesis.py +2 -0
- dashscope/api_entities/aiohttp_request.py +3 -0
- dashscope/api_entities/api_request_data.py +3 -0
- dashscope/api_entities/api_request_factory.py +2 -0
- dashscope/api_entities/base_request.py +2 -0
- dashscope/api_entities/chat_completion_types.py +344 -0
- dashscope/api_entities/dashscope_response.py +63 -0
- dashscope/api_entities/http_request.py +3 -0
- dashscope/api_entities/websocket_request.py +3 -0
- dashscope/app/__init__.py +2 -0
- dashscope/app/application.py +17 -15
- dashscope/app/application_response.py +1 -1
- dashscope/assistants/__init__.py +2 -0
- dashscope/assistants/assistant_types.py +2 -0
- dashscope/assistants/assistants.py +2 -0
- dashscope/assistants/files.py +2 -0
- dashscope/audio/__init__.py +4 -2
- dashscope/audio/asr/__init__.py +2 -0
- dashscope/audio/asr/asr_phrase_manager.py +2 -0
- dashscope/audio/asr/recognition.py +2 -0
- dashscope/audio/asr/transcription.py +3 -0
- dashscope/audio/asr/translation_recognizer.py +2 -0
- dashscope/audio/asr/vocabulary.py +3 -0
- dashscope/audio/qwen_tts/__init__.py +5 -0
- dashscope/audio/qwen_tts/speech_synthesizer.py +77 -0
- dashscope/audio/tts/__init__.py +2 -0
- dashscope/audio/tts/speech_synthesizer.py +2 -0
- dashscope/audio/tts_v2/__init__.py +2 -0
- dashscope/audio/tts_v2/enrollment.py +3 -0
- dashscope/audio/tts_v2/speech_synthesizer.py +4 -1
- dashscope/client/base_api.py +4 -1
- dashscope/common/api_key.py +2 -0
- dashscope/common/base_type.py +2 -0
- dashscope/common/constants.py +2 -0
- dashscope/common/env.py +2 -0
- dashscope/common/error.py +3 -0
- dashscope/common/logging.py +2 -0
- dashscope/common/message_manager.py +2 -0
- dashscope/common/utils.py +3 -0
- dashscope/customize/customize_types.py +2 -0
- dashscope/customize/deployments.py +2 -0
- dashscope/customize/finetunes.py +2 -0
- dashscope/embeddings/__init__.py +2 -0
- dashscope/embeddings/batch_text_embedding.py +2 -0
- dashscope/embeddings/batch_text_embedding_response.py +3 -0
- dashscope/embeddings/multimodal_embedding.py +2 -0
- dashscope/embeddings/text_embedding.py +2 -0
- dashscope/files.py +2 -0
- dashscope/io/input_output.py +2 -0
- dashscope/model.py +2 -0
- dashscope/models.py +2 -0
- dashscope/nlp/understanding.py +2 -0
- dashscope/protocol/websocket.py +3 -0
- dashscope/rerank/text_rerank.py +2 -0
- dashscope/threads/__init__.py +2 -0
- dashscope/threads/messages/files.py +2 -0
- dashscope/threads/messages/messages.py +2 -0
- dashscope/threads/runs/runs.py +2 -0
- dashscope/threads/runs/steps.py +2 -0
- dashscope/threads/thread_types.py +2 -0
- dashscope/threads/threads.py +2 -0
- dashscope/tokenizers/__init__.py +2 -0
- dashscope/tokenizers/qwen_tokenizer.py +2 -0
- dashscope/tokenizers/tokenization.py +2 -0
- dashscope/tokenizers/tokenizer.py +2 -0
- dashscope/tokenizers/tokenizer_base.py +2 -0
- dashscope/utils/oss_utils.py +3 -0
- dashscope/version.py +3 -1
- {dashscope-1.22.2.dist-info → dashscope-1.23.0.dist-info}/LICENSE +2 -4
- {dashscope-1.22.2.dist-info → dashscope-1.23.0.dist-info}/METADATA +1 -1
- dashscope-1.23.0.dist-info/RECORD +95 -0
- dashscope/audio/asr/transcribe.py +0 -270
- dashscope/deployment.py +0 -163
- dashscope/file.py +0 -94
- dashscope/finetune.py +0 -175
- dashscope-1.22.2.dist-info/RECORD +0 -95
- {dashscope-1.22.2.dist-info → dashscope-1.23.0.dist-info}/WHEEL +0 -0
- {dashscope-1.22.2.dist-info → dashscope-1.23.0.dist-info}/entry_points.txt +0 -0
- {dashscope-1.22.2.dist-info → dashscope-1.23.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
3
|
+
from typing import Generator, Union
|
|
4
|
+
|
|
5
|
+
from dashscope.api_entities.dashscope_response import \
|
|
6
|
+
TextToSpeechResponse
|
|
7
|
+
from dashscope.client.base_api import BaseApi
|
|
8
|
+
from dashscope.common.error import InputRequired, ModelRequired
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class SpeechSynthesizer(BaseApi):
|
|
12
|
+
"""Text-to-speech interface.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
task_group = 'aigc'
|
|
16
|
+
task = 'multimodal-generation'
|
|
17
|
+
function = 'generation'
|
|
18
|
+
|
|
19
|
+
class Models:
|
|
20
|
+
qwen_tts = 'qwen-tts'
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def call(
|
|
24
|
+
cls,
|
|
25
|
+
model: str,
|
|
26
|
+
text: str,
|
|
27
|
+
api_key: str = None,
|
|
28
|
+
workspace: str = None,
|
|
29
|
+
**kwargs
|
|
30
|
+
) -> Union[TextToSpeechResponse, Generator[
|
|
31
|
+
TextToSpeechResponse, None, None]]:
|
|
32
|
+
"""Call the conversation model service.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
model (str): The requested model, such as 'qwen-tts'
|
|
36
|
+
text (str): Text content used for speech synthesis.
|
|
37
|
+
api_key (str, optional): The api api_key, can be None,
|
|
38
|
+
if None, will retrieve by rule [1].
|
|
39
|
+
[1]: https://help.aliyun.com/zh/dashscope/developer-reference/api-key-settings. # noqa E501
|
|
40
|
+
workspace (str): The dashscope workspace id.
|
|
41
|
+
**kwargs:
|
|
42
|
+
stream(bool, `optional`): Enable server-sent events
|
|
43
|
+
(ref: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events) # noqa E501
|
|
44
|
+
the result will back partially[qwen-turbo,bailian-v1].
|
|
45
|
+
voice: str
|
|
46
|
+
Voice name.
|
|
47
|
+
|
|
48
|
+
Raises:
|
|
49
|
+
InputRequired: The input must include the text parameter.
|
|
50
|
+
ModelRequired: The input must include the model parameter.
|
|
51
|
+
|
|
52
|
+
Returns:
|
|
53
|
+
Union[TextToSpeechResponse,
|
|
54
|
+
Generator[TextToSpeechResponse, None, None]]: If
|
|
55
|
+
stream is True, return Generator, otherwise TextToSpeechResponse.
|
|
56
|
+
"""
|
|
57
|
+
if not text:
|
|
58
|
+
raise InputRequired('text is required!')
|
|
59
|
+
if model is None or not model:
|
|
60
|
+
raise ModelRequired('Model is required!')
|
|
61
|
+
input = {'text': text}
|
|
62
|
+
if 'voice' in kwargs:
|
|
63
|
+
input['voice'] = kwargs.pop('voice')
|
|
64
|
+
response = super().call(model=model,
|
|
65
|
+
task_group=SpeechSynthesizer.task_group,
|
|
66
|
+
task=SpeechSynthesizer.task,
|
|
67
|
+
function=SpeechSynthesizer.function,
|
|
68
|
+
api_key=api_key,
|
|
69
|
+
input=input,
|
|
70
|
+
workspace=workspace,
|
|
71
|
+
**kwargs)
|
|
72
|
+
is_stream = kwargs.get('stream', False)
|
|
73
|
+
if is_stream:
|
|
74
|
+
return (TextToSpeechResponse.from_api_response(rsp)
|
|
75
|
+
for rsp in response)
|
|
76
|
+
else:
|
|
77
|
+
return TextToSpeechResponse.from_api_response(response)
|
dashscope/audio/tts/__init__.py
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
1
3
|
import asyncio
|
|
2
4
|
import time
|
|
3
5
|
from typing import List
|
|
4
6
|
|
|
5
7
|
import aiohttp
|
|
8
|
+
|
|
6
9
|
from dashscope.client.base_api import BaseApi
|
|
7
10
|
from dashscope.common.constants import ApiProtocol, HTTPMethod
|
|
8
11
|
from dashscope.common.logging import logger
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
1
3
|
import json
|
|
2
4
|
import platform
|
|
3
5
|
import threading
|
|
@@ -5,8 +7,9 @@ import time
|
|
|
5
7
|
import uuid
|
|
6
8
|
from enum import Enum, unique
|
|
7
9
|
|
|
8
|
-
import dashscope
|
|
9
10
|
import websocket
|
|
11
|
+
|
|
12
|
+
import dashscope
|
|
10
13
|
from dashscope.common.error import InputRequired, InvalidTask, ModelRequired
|
|
11
14
|
from dashscope.common.logging import logger
|
|
12
15
|
from dashscope.protocol.websocket import (ACTION_KEY, EVENT_KEY, HEADER,
|
dashscope/client/base_api.py
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
1
3
|
import time
|
|
2
4
|
from http import HTTPStatus
|
|
3
5
|
from typing import Any, Dict, Iterator, List, Union
|
|
4
6
|
|
|
5
|
-
import dashscope
|
|
6
7
|
import requests
|
|
8
|
+
|
|
9
|
+
import dashscope
|
|
7
10
|
from dashscope.api_entities.api_request_factory import _build_api_request
|
|
8
11
|
from dashscope.api_entities.dashscope_response import DashScopeAPIResponse
|
|
9
12
|
from dashscope.common.api_key import get_default_api_key
|
dashscope/common/api_key.py
CHANGED
dashscope/common/base_type.py
CHANGED
dashscope/common/constants.py
CHANGED
dashscope/common/env.py
CHANGED
dashscope/common/error.py
CHANGED
dashscope/common/logging.py
CHANGED
dashscope/common/utils.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
1
3
|
import asyncio
|
|
2
4
|
import json
|
|
3
5
|
import os
|
|
@@ -11,6 +13,7 @@ from urllib.parse import urlparse
|
|
|
11
13
|
|
|
12
14
|
import aiohttp
|
|
13
15
|
import requests
|
|
16
|
+
|
|
14
17
|
from dashscope.api_entities.dashscope_response import DashScopeAPIResponse
|
|
15
18
|
from dashscope.common.api_key import get_default_api_key
|
|
16
19
|
from dashscope.common.constants import SSE_CONTENT_TYPE
|
dashscope/customize/finetunes.py
CHANGED
dashscope/embeddings/__init__.py
CHANGED
dashscope/files.py
CHANGED
dashscope/io/input_output.py
CHANGED
dashscope/model.py
CHANGED
dashscope/models.py
CHANGED
dashscope/nlp/understanding.py
CHANGED
dashscope/protocol/websocket.py
CHANGED
dashscope/rerank/text_rerank.py
CHANGED
dashscope/threads/__init__.py
CHANGED
dashscope/threads/runs/runs.py
CHANGED
dashscope/threads/runs/steps.py
CHANGED
dashscope/threads/threads.py
CHANGED
dashscope/tokenizers/__init__.py
CHANGED
dashscope/utils/oss_utils.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
2
|
+
|
|
1
3
|
import mimetypes
|
|
2
4
|
import os
|
|
3
5
|
from datetime import datetime
|
|
@@ -8,6 +10,7 @@ from urllib.parse import unquote_plus, urlparse
|
|
|
8
10
|
from wsgiref.handlers import format_date_time
|
|
9
11
|
|
|
10
12
|
import requests
|
|
13
|
+
|
|
11
14
|
from dashscope.api_entities.dashscope_response import DashScopeAPIResponse
|
|
12
15
|
from dashscope.client.base_api import GetMixin
|
|
13
16
|
from dashscope.common.constants import FILE_PATH_SCHEMA
|
dashscope/version.py
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
Copyright 2023-2024 Alibaba DashScope. All rights reserved.
|
|
2
|
-
|
|
3
1
|
Apache License
|
|
4
2
|
Version 2.0, January 2004
|
|
5
3
|
http://www.apache.org/licenses/
|
|
@@ -188,7 +186,7 @@ Copyright 2023-2024 Alibaba DashScope. All rights reserved.
|
|
|
188
186
|
same "printed page" as the copyright notice for easier
|
|
189
187
|
identification within third-party archives.
|
|
190
188
|
|
|
191
|
-
Copyright
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
192
190
|
|
|
193
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
192
|
you may not use this file except in compliance with the License.
|
|
@@ -200,4 +198,4 @@ Copyright 2023-2024 Alibaba DashScope. All rights reserved.
|
|
|
200
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
200
|
See the License for the specific language governing permissions and
|
|
203
|
-
limitations under the License.
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
dashscope/__init__.py,sha256=__BY0dzgFX5Bt50WL-2PJmI8EYOmnpXhABQntdqDtSM,3062
|
|
2
|
+
dashscope/cli.py,sha256=amegoTkGOs6TlHMdoo4JVOqBePo3lGs745rc7leEyrE,24020
|
|
3
|
+
dashscope/files.py,sha256=vRDQygm3lOqBZR73o7KNHs1iTBVuvLncuwJNxIYjzAU,3981
|
|
4
|
+
dashscope/model.py,sha256=B5v_BtYLPqj6raClejBgdKg6WTGwhH_f-20pvsQqmsk,1491
|
|
5
|
+
dashscope/models.py,sha256=dE4mzXkl85G343qVylSGpURPRdA5pZSqXlx6PcxqC_Q,1275
|
|
6
|
+
dashscope/version.py,sha256=eODiCFBBFCNL7_I5FHq8A71s4gJqAPHDMnScWfhDnjo,74
|
|
7
|
+
dashscope/aigc/__init__.py,sha256=AuRhu_vA1K0tbs_C6DgcZYhTvxMuzDgpwHJNHzEPIHg,442
|
|
8
|
+
dashscope/aigc/chat_completion.py,sha256=ONlyyssIbfaKKcFo7cEKhHx5OCF2XX810HFzIExW1ho,14813
|
|
9
|
+
dashscope/aigc/code_generation.py,sha256=p_mxDKJLQMW0IjFD46JRlZuEZCRESSVKEfLlAevBtqw,10936
|
|
10
|
+
dashscope/aigc/conversation.py,sha256=95xEEY4ThZJysj5zy3aMw7ql9KLJVfD_1iHv9QZ17Ew,14282
|
|
11
|
+
dashscope/aigc/generation.py,sha256=xMcMu16rICTdjZiD_sPqYV_Ltdp4ewGzzfC7JD9VApY,17948
|
|
12
|
+
dashscope/aigc/image_synthesis.py,sha256=v4SzJdKjPhVgRk_pZY9mRz3LHjIzY22larIpXomRMuA,11103
|
|
13
|
+
dashscope/aigc/multimodal_conversation.py,sha256=1rZZRk_1lCdbVs7Rx1kJ5LvwWE1put5p_dQKdCX0ysY,5574
|
|
14
|
+
dashscope/aigc/video_synthesis.py,sha256=QO9JXrriT0ZN-GF3AFznNx9G_NEYQr_Wmo4qpXjzVN0,10451
|
|
15
|
+
dashscope/api_entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
dashscope/api_entities/aiohttp_request.py,sha256=1L7XdIJ9L65cQmX8x9JCR4t5hNIMDrbiWADfKKp9yfo,10280
|
|
17
|
+
dashscope/api_entities/api_request_data.py,sha256=04rpYPNK1HkT3iTPJmZpquH621xcBbe8R8EGrDJSLt0,5514
|
|
18
|
+
dashscope/api_entities/api_request_factory.py,sha256=yRzRKlFeoEyTyiXwyw_1hTKbkf6Sb5SaKZJU--Gfm3w,5112
|
|
19
|
+
dashscope/api_entities/base_request.py,sha256=W2SzrSAGFS6V8DErfSrayQtSL0T4iO7BrC8flr7nt1w,977
|
|
20
|
+
dashscope/api_entities/chat_completion_types.py,sha256=1WMWPszhM3HaJBVz-ZXx-El4D8-RfVUL3ym65xsDRLk,11435
|
|
21
|
+
dashscope/api_entities/dashscope_response.py,sha256=HRs-rmH_c4f0Nml8GLPxxiHAzAOdlZAZv51utkXL54U,22054
|
|
22
|
+
dashscope/api_entities/http_request.py,sha256=vgfykwSOdPom4bQVFOtXIEPYTuE_4QVNGtZ2EJ0t9lM,13310
|
|
23
|
+
dashscope/api_entities/websocket_request.py,sha256=PS0FU854-HjTbKa68f4GHa7-noFRMzKySJGfPkrrBjw,16146
|
|
24
|
+
dashscope/app/__init__.py,sha256=xvSvU8O7m5u7vgIvJXTJektJZxmjT2Rpt_YwePH88XE,113
|
|
25
|
+
dashscope/app/application.py,sha256=Whf_ij4RHOaY12_xdS8uj8HVNCwkTp_MRdrFTryF1Kg,9472
|
|
26
|
+
dashscope/app/application_response.py,sha256=z9BKcb9QuV_TzHkqtwaCwap2GQ1mP48uDD7gIc2il98,7038
|
|
27
|
+
dashscope/assistants/__init__.py,sha256=hjCTuv13yFaXyUqlexAU-RaO0Ahq3P7VK9_LkSbkGVU,434
|
|
28
|
+
dashscope/assistants/assistant_types.py,sha256=DQ_lOust10wjiV38Nlsu3HaGYNbGlJoaLjEza82Wotk,4262
|
|
29
|
+
dashscope/assistants/assistants.py,sha256=_ADX4s8Mlfhfq7kb8xMLztNX_09NAW7DouvbVLY0jpw,10884
|
|
30
|
+
dashscope/assistants/files.py,sha256=Ol2h7L2vNV8kgWqum2B-3B9vtLEHB_2KWt0K7e96Bmg,6750
|
|
31
|
+
dashscope/audio/__init__.py,sha256=RKw-A1PLA5F4jiXI3AnuRSYeHFzQl2OW2ZGW6xyHS1Q,132
|
|
32
|
+
dashscope/audio/asr/__init__.py,sha256=JoCenJAUVOQXPmAn1toKeFYCfc8BqNn0NKpqjuJvNJc,1055
|
|
33
|
+
dashscope/audio/asr/asr_phrase_manager.py,sha256=vHOLExaKCtjedkihIu7gyfQyarR9rN5JZn79LvlCpco,7693
|
|
34
|
+
dashscope/audio/asr/recognition.py,sha256=6atbrO4wHqKDTF4P_oZKIP3KYSSKZwRan2oX7DbssI0,20750
|
|
35
|
+
dashscope/audio/asr/transcription.py,sha256=lYzPjh7jJQwjMoxx8-AY0YCMBKNKO0bi7xd5tZGSHPc,9094
|
|
36
|
+
dashscope/audio/asr/translation_recognizer.py,sha256=JgBmhkIl_kqH8uVwop6Fba5KlXccftKFrhaygN9PKjU,39680
|
|
37
|
+
dashscope/audio/asr/vocabulary.py,sha256=TEmN4JqXFpg9c1o3BUyj-rA7L58T85iURukJIupEiv0,6528
|
|
38
|
+
dashscope/audio/qwen_tts/__init__.py,sha256=JS3axY1grqO0aTIJufZ3KS1JsU6yf6y4K2CQlNvUK9I,132
|
|
39
|
+
dashscope/audio/qwen_tts/speech_synthesizer.py,sha256=7LHR-PXhn-VE1cCOp_82Jq0zE9rMc3xy3dszUeyLLNs,2927
|
|
40
|
+
dashscope/audio/tts/__init__.py,sha256=xYpMFseUZGgqgj_70zcX2VsLv-L7qxJ3d-bbdj_hO0I,245
|
|
41
|
+
dashscope/audio/tts/speech_synthesizer.py,sha256=vD1xQV-rew8qAsIaAGH5amsNtB0SqdtNhVHhJHGQ-xk,7622
|
|
42
|
+
dashscope/audio/tts_v2/__init__.py,sha256=me9a3_7KsHQxcJ8hx4SeKlY1e_ThHVvGMw7Yn0uoscM,333
|
|
43
|
+
dashscope/audio/tts_v2/enrollment.py,sha256=DlkV4P1unbtgg9vQNfDfnBqA61yYtIwRHgUdwPh4AF4,6192
|
|
44
|
+
dashscope/audio/tts_v2/speech_synthesizer.py,sha256=aL_VNKMYwiw5pKv3SvuAzWtZF0bpyvntc3Kh_iJroNM,19980
|
|
45
|
+
dashscope/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
+
dashscope/client/base_api.py,sha256=aWNy_xm02GXuLKVgWnYJht2nI4ZHSGfYIcr52SML15A,41239
|
|
47
|
+
dashscope/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
+
dashscope/common/api_key.py,sha256=yqFCAteq8CNQGnlLv6fxNFWsLqsQDbSzOpgAlUmDkaE,2037
|
|
49
|
+
dashscope/common/base_type.py,sha256=2OQDqFlEH43wn54i-691cbarV_eKRLvRsPGfyb_GS0g,4670
|
|
50
|
+
dashscope/common/constants.py,sha256=ULmR3ZENW1gIWRZLmUKKscRQ1vQvhw4EoTxvNbrgMmw,2378
|
|
51
|
+
dashscope/common/env.py,sha256=9yWWdKqfYuHlTQSvbTBaQhGbASh5Lq6SbM9pPx8hB40,920
|
|
52
|
+
dashscope/common/error.py,sha256=sXQqBGWCUBPyKa5rAI6DWc0sEidH01sR8zlIBfrTTDU,2690
|
|
53
|
+
dashscope/common/logging.py,sha256=lX86X9ND1MC5mA_qKAktwaVXd_BufLgmSGPggUiEJZo,1035
|
|
54
|
+
dashscope/common/message_manager.py,sha256=mZ7fS5LV09huwvz-2nxrr2RFQ9fQAYhEpeUmFb7WfW4,1148
|
|
55
|
+
dashscope/common/utils.py,sha256=i0pnYxz5zErw1wM-eFQx2XLfOmBjFscqG4-aEJYnlRc,15439
|
|
56
|
+
dashscope/customize/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
+
dashscope/customize/customize_types.py,sha256=02qxJ-FodKS9Sgl7blx7IAx_eOdpf53L1mZ909PSMsM,4854
|
|
58
|
+
dashscope/customize/deployments.py,sha256=2BxjgukuXe9bkl1VOvvKky0NxkcXVL3xk07UusjwZII,5240
|
|
59
|
+
dashscope/customize/finetunes.py,sha256=AL_kGTJXMvM2ej-EKsLLd1dUphPQdVTefFVCSVH-C-w,8362
|
|
60
|
+
dashscope/embeddings/__init__.py,sha256=XQ7vKr8oZM2CmdOduE53BWy6_Qpn9xUPkma64yw8Gws,291
|
|
61
|
+
dashscope/embeddings/batch_text_embedding.py,sha256=lVhvTS8McYfXuqt_8CmmhA6bPqD0nrGv965kjYG_j0E,8842
|
|
62
|
+
dashscope/embeddings/batch_text_embedding_response.py,sha256=3O3fQRQaGSMSJhvI453KNC4aq1nl-LUw4QNSfZaWSvs,2051
|
|
63
|
+
dashscope/embeddings/multimodal_embedding.py,sha256=NwjQsdkKgUz51ozGjqFDzVlLcZjY0m1JNdH1EyAY0a4,4109
|
|
64
|
+
dashscope/embeddings/text_embedding.py,sha256=4W1V-Ggj0WJhY5MdP2xoUTteXlWk8TUtI6y2gRUVCUk,2060
|
|
65
|
+
dashscope/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
|
+
dashscope/io/input_output.py,sha256=0aXrRJFo1ZqYm_AJWR_w88O4-Btn9np2zUhrrUdBdfw,3992
|
|
67
|
+
dashscope/nlp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
+
dashscope/nlp/understanding.py,sha256=00ado-ibYEzBRT0DgKGd3bohQDNW73xnFhJ_1aa87lw,2880
|
|
69
|
+
dashscope/protocol/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
+
dashscope/protocol/websocket.py,sha256=k4B8GOBeyvAxqVQ47JhWfXfNErIhiVlQ-VCiKLLG0Ho,613
|
|
71
|
+
dashscope/rerank/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
72
|
+
dashscope/rerank/text_rerank.py,sha256=NKN3vnWprguhHy2_g0D7znZ7jEGrLX4zMaLE3jBrl94,2449
|
|
73
|
+
dashscope/resources/qwen.tiktoken,sha256=srG437XMXwJLr8NzEhxquj9m-aWgJp4kNHCh3hajMYY,2561218
|
|
74
|
+
dashscope/threads/__init__.py,sha256=3IKX9vZWhT87XrVx1pA_g3MWHEekXoJJSZeE_CTWL08,672
|
|
75
|
+
dashscope/threads/thread_types.py,sha256=1_CCRrfDL2tFE5VMj2tjIdZ2N7pvbNffkMF97Fuwzcg,18331
|
|
76
|
+
dashscope/threads/threads.py,sha256=J9QGY0vy6MldC4ujQMyiYc9jN4aH9NGj0SkcWZHwkj0,7716
|
|
77
|
+
dashscope/threads/messages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
|
+
dashscope/threads/messages/files.py,sha256=WxKVQednISIh2MY8N1B6Y4HjGllFhcLKCsc4QXKZ6AQ,3871
|
|
79
|
+
dashscope/threads/messages/messages.py,sha256=peKqehK8JO0ZwRXACaojg6-61TkBBbqd190xtKIbOZo,8470
|
|
80
|
+
dashscope/threads/runs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
|
+
dashscope/threads/runs/runs.py,sha256=KHBfdBYwIV-3pZG8RjZm5qZK-UMQT3cttV8kEfyH50M,18600
|
|
82
|
+
dashscope/threads/runs/steps.py,sha256=579EsCOwsamuJMSNrrrX86h9JfMdXNlErVJ8XakSqSc,3689
|
|
83
|
+
dashscope/tokenizers/__init__.py,sha256=TvVAsDam5S0R4rorxdfyUGIEQQX1q8nQ--RxsWWos3A,251
|
|
84
|
+
dashscope/tokenizers/qwen_tokenizer.py,sha256=tvX7x34Rg_NFFc1XjneXNFfXVkePdqkgHHShce2RJGo,4162
|
|
85
|
+
dashscope/tokenizers/tokenization.py,sha256=ubQBJ_yw_MoHuHxZcK9NarZSSbyExloeSOLIWYhRzH0,4824
|
|
86
|
+
dashscope/tokenizers/tokenizer.py,sha256=3FQVDvMNkCW9ccYeJdjrd_PIMMD3Xv7aNZkaYOE4XX4,1205
|
|
87
|
+
dashscope/tokenizers/tokenizer_base.py,sha256=5EJIFuizMWESEmLmbd38yJnfeHmPnzZPwsO4aOGjpl4,707
|
|
88
|
+
dashscope/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
89
|
+
dashscope/utils/oss_utils.py,sha256=L5LN3lN8etVxSL_jkZydstvEKpnTG9CY0zcvPGQ5LBo,7383
|
|
90
|
+
dashscope-1.23.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
91
|
+
dashscope-1.23.0.dist-info/METADATA,sha256=a3iAt0V4auCEebZXGfc6cN5WX9rq20ZrD8ptldojo40,6798
|
|
92
|
+
dashscope-1.23.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
93
|
+
dashscope-1.23.0.dist-info/entry_points.txt,sha256=raEp5dOuj8whJ7yqZlDM8WQ5p2RfnGrGNo0QLQEnatY,50
|
|
94
|
+
dashscope-1.23.0.dist-info/top_level.txt,sha256=woqavFJK9zas5xTqynmALqOtlafghjsk63Xk86powTU,10
|
|
95
|
+
dashscope-1.23.0.dist-info/RECORD,,
|