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.30-py3-none-any.whl (227.1 kB view hashes)

Uploaded Python 3

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