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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ant1Interface-0.0.36-py3-none-any.whl.
File metadata
- Download URL: ant1Interface-0.0.36-py3-none-any.whl
- Upload date:
- Size: 227.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d577a0b83069d8f4d0143cfa02fe07d5f06d6d43b0ab720163654178611f7f33
|
|
| MD5 |
384d84696742989a0cceedc4e083411f
|
|
| BLAKE2b-256 |
b10fc444c6916e7a292065d9e3f6a0de894cd3245028b486d0bc6ea9bf95f376
|