metaso-sdk 0.1.0__py3-none-any.whl → 0.1.3__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.
metaso_sdk/__init__.py CHANGED
@@ -10,15 +10,15 @@ from .search import search
10
10
  from .subject import create_topic, delete_file, delete_topic, update_progress, upload_directory, upload_file
11
11
 
12
12
  __all__: list[str] = [
13
- Status,
14
- Query,
15
- Topic,
16
- File,
17
- search,
18
- create_topic,
19
- delete_topic,
20
- upload_file,
21
- update_progress,
22
- delete_file,
23
- upload_directory,
13
+ "Status",
14
+ "Query",
15
+ "Topic",
16
+ "File",
17
+ "search",
18
+ "create_topic",
19
+ "delete_topic",
20
+ "upload_file",
21
+ "update_progress",
22
+ "delete_file",
23
+ "upload_directory",
24
24
  ]
metaso_sdk/model.py CHANGED
@@ -15,6 +15,8 @@ class Query(BaseModel):
15
15
  stream: bool = False
16
16
  topicId: Optional[str] = None
17
17
  searchTopicId: Optional[str] = None
18
+ enableMix: bool = False
19
+ newEngine: bool = False
18
20
 
19
21
 
20
22
  class Topic(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: metaso-sdk
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
  Summary: The official Python SDK for https://metaso.cn
5
5
  Author-Email: Zhao Xiaohong <zhaoxiaohong@metasota.ai>
6
6
  License: MIT
@@ -15,7 +15,6 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
- Classifier: Programming Language :: Python :: 3.14
19
18
  Classifier: Topic :: Documentation
20
19
  Classifier: Topic :: Software Development
21
20
  Classifier: Topic :: Utilities
@@ -26,8 +25,6 @@ Project-URL: Changelog, https://meta-sota.github.io/metaso-sdk/changelog
26
25
  Project-URL: Repository, https://github.com/meta-sota/metaso-sdk
27
26
  Project-URL: Issues, https://github.com/meta-sota/metaso-sdk/issues
28
27
  Project-URL: Discussions, https://github.com/meta-sota/metaso-sdk/discussions
29
- Project-URL: Gitter, https://gitter.im/metaso-sdk/community
30
- Project-URL: Funding, https://github.com/sponsors/meta-sota
31
28
  Requires-Python: >=3.8
32
29
  Requires-Dist: httpx-sse>=0.4.0
33
30
  Requires-Dist: httpx>=0.27.2
@@ -40,9 +37,8 @@ Description-Content-Type: text/markdown
40
37
  [![ci](https://github.com/meta-sota/metaso-sdk/workflows/ci/badge.svg)](https://github.com/meta-sota/metaso-sdk/actions?query=workflow%3Aci)
41
38
  [![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://meta-sota.github.io/metaso-sdk/)
42
39
  [![pypi version](https://img.shields.io/pypi/v/metaso-sdk.svg)](https://pypi.org/project/metaso-sdk/)
43
- [![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#metaso-sdk:gitter.im)
44
40
 
45
- The official Python SDK for https://metaso.cn
41
+ [秘塔AI搜索](https://metaso.cn) Python SDK。在使用这个 SDK 之前,请先通过[API文档专题](https://metaso.cn/s/hXHmJkx)了解 HTTP 接口的更多细节。
46
42
 
47
43
  ## 安装
48
44
 
@@ -76,7 +72,7 @@ search(Query(question="abc"))
76
72
  ### 追问
77
73
 
78
74
  ```python
79
- search(Query(question="广播公司", sessionId='8550018047390023680'))
75
+ search(Query(question="广播公司", sessionId="8550018047390023680"))
80
76
  ```
81
77
 
82
78
  ### 流式返回
@@ -1,14 +1,14 @@
1
- metaso_sdk-0.1.0.dist-info/METADATA,sha256=p6elhZYx8vXqoMtjv16dinGrmC1NmE96kfVLH_SIBAE,3420
2
- metaso_sdk-0.1.0.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- metaso_sdk-0.1.0.dist-info/entry_points.txt,sha256=VqvzYeWOYZKCpogIumetYL8h5UZsI93oLI15kJjbwj4,63
4
- metaso_sdk-0.1.0.dist-info/licenses/LICENSE,sha256=7nWd1jm_pniRaOJtzgZnzECn_eeGLoPMvPTjCyRpj1A,1065
5
- metaso_sdk/__init__.py,sha256=ojrRidgqOO2LWNh0q7lv897364hE61yck2Kh7OW8mZ8,488
1
+ metaso_sdk-0.1.3.dist-info/METADATA,sha256=h6vUAXehb00sQG8q4_BwwKodr8N8RBao_TiVSqp7gd0,3270
2
+ metaso_sdk-0.1.3.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ metaso_sdk-0.1.3.dist-info/entry_points.txt,sha256=VqvzYeWOYZKCpogIumetYL8h5UZsI93oLI15kJjbwj4,63
4
+ metaso_sdk-0.1.3.dist-info/licenses/LICENSE,sha256=7nWd1jm_pniRaOJtzgZnzECn_eeGLoPMvPTjCyRpj1A,1065
5
+ metaso_sdk/__init__.py,sha256=wP088gdhNJt1byFsSYest-ucQJdwosorwaG7FqCyqwE,510
6
6
  metaso_sdk/__main__.py,sha256=WCRS7Ehbf26-NWDSnt-Zmy0eP63paf67q9eYV4V_Q3g,345
7
7
  metaso_sdk/cli.py,sha256=Z7I54ojBpWxQ_Pce7-XM7gucneDIpC21yAqRGkYrm9I,1734
8
8
  metaso_sdk/client.py,sha256=j2hC1NBbxsRFHC4hOSD06YrfV5JLffgrA-H5iGNBPq4,204
9
9
  metaso_sdk/debug.py,sha256=K3ypLgs78a8bhiAHE_5fZZAL-U622fuKPyEdL7M1UW8,2831
10
- metaso_sdk/model.py,sha256=oXLuFZMkZczRxOyWu2enRtM5eDKrNsMgDg0O2KWkX64,674
10
+ metaso_sdk/model.py,sha256=Y-8Gn_9K4lbtqhiGVs796hB3UXMfgUALAFOjwJXiwDQ,730
11
11
  metaso_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  metaso_sdk/search.py,sha256=3iA9lIncpAcbPHPby0XnTYaYvhM2983bEOBa40Nu_kY,1082
13
13
  metaso_sdk/subject.py,sha256=0CsDo1PRZlagR4GKLDbJXvK2Q6qFAd4_3VV8NTNYPeE,2877
14
- metaso_sdk-0.1.0.dist-info/RECORD,,
14
+ metaso_sdk-0.1.3.dist-info/RECORD,,