Skip to main content

No project description provided

Project description

Kubeagi Core

Kubeagi Core including some common functions, these functions are designed to be as modular and simple as possible.

Quick Start

There are several ways to use the kubeagi_core library:

Installing the library

Use the following instructions to get up and running with kubeagi_core and test your installation.

  • Install the Python SDK pip install kubeagi_core

At this point, you should be able to run the following code:

from kubeagi_core.qa_provider.openai import QAProviderOpenAI

qa_provider = QAProviderOpenAI(
    api_key="fake",
    base_url="http://fastchat-api.172.22.95.167.nip.io/v1",
    model="f8e35823-3841-4253-ae79-0fff47917ae3",
)

data = qa_provider.generate_qa_list(text="大语言模型(LLM)是指使用大量文本数据训练的深度学习模型,可以生成自然语言文本或理解语言文本的含义。大语言模型可以处理多种自然语言任务,如文本分类、问答、对话等,是通向人工智能的一条重要途径。")

print(data)

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

kubeagi_core-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

kubeagi_core-0.0.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kubeagi_core-0.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for kubeagi_core-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bf11a5c0b692ec441a1640367e26b447577b41b4bcc784bc34dfa6bf3f10e268
MD5 8174a22453565d2bd4c2bb52dbfd268a
BLAKE2b-256 4a8eb98c7b924ccb418429364c21423973c90ec044e665611fbf7719d70a672a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kubeagi_core-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for kubeagi_core-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05cd5725b822ad56ca3c02c5fd350f1f622505090883eedf18bcc0cc7315abab
MD5 ad3103b80139d91974d7426cc8820ff1
BLAKE2b-256 0d5a7919fa831668e1c4eddaa9b2d535812452e07938966763ff5540f66f87f6

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