File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33from setuptools import setup , find_packages # noqa: H301
44
55NAME = "volcengine-python-sdk"
6- VERSION = "4.0.15 "
6+ VERSION = "4.0.16 "
77# To install the library, run the following
88#
99# python setup.py install
Original file line number Diff line number Diff line change 1+ # coding: utf-8
2+
3+ # flake8: noqa
4+
5+ """
6+ llmshield
7+
8+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
9+
10+ OpenAPI spec version: common-version
11+
12+ Generated by: https://github.com/swagger-api/swagger-codegen.git
13+ """
14+
15+ from __future__ import absolute_import
16+
17+ # 导入API模块
18+ from volcenginesdkllmshield .api .llm_shield_sdk_v2 import ClientV2
19+ from volcenginesdkllmshield .api .llm_shield_sdk_v2 import (
20+ ContentTypeV2 ,
21+ DecisionTypeV2 ,
22+ UserAction ,
23+ MatchSource ,
24+ MessageV2 ,
25+ ModerateV2Request ,
26+ RiskMatchV2 ,
27+ PermitMatchV2 ,
28+ RiskV2 ,
29+ RiskInfoV2 ,
30+ PermitV2 ,
31+ PermitInfoV2 ,
32+ BlockDetailV2 ,
33+ ReplaceDetailV2 ,
34+ DecisionDetailV2 ,
35+ DecisionV2 ,
36+ ModerateV2Result ,
37+ ErrorInfo ,
38+ ResponseMetadata ,
39+ ModerateV2Response ,
40+ ModerateV2StreamSession ,
41+ GenerateStreamV2Request ,
42+ GenerateStreamV2Response ,
43+ GenerateSummarizeV2 ,
44+ GenerateStreamResult ,
45+ GenerateStreamV2ResponseData ,
46+ CustomJSONEncoder
47+ )
48+
49+
50+ __all__ = [
51+ # API客户端
52+ 'ClientV2' ,
53+ # 常量类
54+ 'ContentTypeV2' ,
55+ 'DecisionTypeV2' ,
56+ 'UserAction' ,
57+ 'MatchSource' ,
58+ # 数据模型
59+ 'MessageV2' ,
60+ 'ModerateV2Request' ,
61+ 'RiskMatchV2' ,
62+ 'PermitMatchV2' ,
63+ 'RiskV2' ,
64+ 'RiskInfoV2' ,
65+ 'PermitV2' ,
66+ 'PermitInfoV2' ,
67+ 'BlockDetailV2' ,
68+ 'ReplaceDetailV2' ,
69+ 'DecisionDetailV2' ,
70+ 'DecisionV2' ,
71+ 'ModerateV2Result' ,
72+ 'ErrorInfo' ,
73+ 'ResponseMetadata' ,
74+ 'ModerateV2Response' ,
75+ 'ModerateV2StreamSession' ,
76+ 'GenerateStreamV2Request' ,
77+ 'GenerateStreamV2Response' ,
78+ 'GenerateSummarizeV2' ,
79+ 'GenerateStreamResult' ,
80+ 'GenerateStreamV2ResponseData' ,
81+ 'CustomJSONEncoder' ,
82+ ]
Original file line number Diff line number Diff line change 1+ # coding: utf-8
2+ # flake8: noqa
3+
4+ from __future__ import absolute_import
You can’t perform that action at this time.
0 commit comments