Skip to main content

No project description provided

Project description

ark-python-sdk

本仓库主要用于方舟编排的python sdk开发,包含了python sdk的开发工具、sdk的代码、sdk的测试代码、sdk的文档、sdk的发布脚本等。

目录结构

├── Makefile              # 编译/安装/lint等脚本
├── OWNERS
├── README.md
├── ark
│   ├── __init__.py
│   ├── cli         # 命令行工具脚本,主要用于初始化project,推送镜像等
│   ├── component   # 基于core包组成的不同插件/模型上层调用
│   ├── core        # 核心数据结构抽象/client包/装饰器部分
│   └── telemetry   # 可观测性
├── build.sh              # scm编译脚本
├── docker                # dockerfile
├── examples              # sdk使用示例
│   ├── action_call      # function call
│   ├── assistant_client # 调用智能体
│   ├── custom
│   ├── llm
│   ├── rag     # 知识库
│   ├── rag_ry
│   ├── search  # 联网
│   └── video
├── poetry.lock
├── pyproject.toml      # 项目依赖包管理
├── scripts             # ci/cd相关脚本
└── tests               # 单元测试/集成测试/e2e测试
    ├── e2e             # e2e测试
    ├── integration     # 集成测试
    └── ut              # 单元测试

开发环境

  • 安装poetry
cd sdk/src
make poetry_install
  • poetry安装依赖
make install

# 带cli工具相关的依赖安装
make install_with_cli
  • 虚拟环境创建
poetry shell

测试

本地测试文档

发布

  • 本地打包whl
make build
  • 流水线打包并发布

发布流水线

  • 开白授权sdk下载权限

tos授权

sdk下载方法

Project details


Download files

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

Source Distribution

ai_app_lab-0.0.1.tar.gz (115.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_app_lab-0.0.1-py3-none-any.whl (182.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_app_lab-0.0.1.tar.gz.

File metadata

  • Download URL: ai_app_lab-0.0.1.tar.gz
  • Upload date:
  • Size: 115.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.18

File hashes

Hashes for ai_app_lab-0.0.1.tar.gz
Algorithm Hash digest
SHA256 aa3f67c0d611cf44bf19cc7cbeb77fa778cf49ee0a8f3e5b88cfdd450adbef5a
MD5 64cfc9c7271d48c687b06d2fa78b03dc
BLAKE2b-256 ae5677605f11d873e1f7abb7b7d0e16a2a38af380ebcc5f4f74106595216e37e

See more details on using hashes here.

File details

Details for the file ai_app_lab-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ai_app_lab-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 182.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.18

File hashes

Hashes for ai_app_lab-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 404b6b84a304fbbd0249ce02acca6dc445fe2ecb15ee501cac9fa343ab9a8346
MD5 709ca3a8e1039b35ae03a6c898a4fa83
BLAKE2b-256 826dffcf37d03dc001df82b8e92f3c65faa3e47583346c6d8b78ae45704eae87

See more details on using hashes here.

Supported by

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