Skip to main content

No project description provided

Project description

前言: 这个代码库主要是用来实现引擎调用算法模型时,输入输出接口的解析。bot中相应的接口定义详见https://yuque.antfin.com/crtpg4/dp5u2i/ciww6f#qNMmC

两种import方式: 1. 如果使用antnlp,参考antnlp/adabrain/common/interface/ant1/demo.py 2. 如果不使用antnlp, 直接安装pypi包,pip install -i https://test.pypi.org/simple/ ant1 在代码里面引入包 import ant1 引入具体包 from ant1 import decoder 务必在函数每次被调用的时候,进行初始化 decode_builder = decoder.DecoderParamsBuilder(input_proto_type=INPUT_PROTO_TYPE)

组件内的解析函数定义使用详见antnlp/adabrain/common/interface/ant1/docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ant1Interface-0.0.36-py3-none-any.whl (227.7 kB view details)

Uploaded Python 3

File details

Details for the file ant1Interface-0.0.36-py3-none-any.whl.

File metadata

File hashes

Hashes for ant1Interface-0.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 d577a0b83069d8f4d0143cfa02fe07d5f06d6d43b0ab720163654178611f7f33
MD5 384d84696742989a0cceedc4e083411f
BLAKE2b-256 b10fc444c6916e7a292065d9e3f6a0de894cd3245028b486d0bc6ea9bf95f376

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page