Skip to main content

Kanao 📚

Project Overview

Kanao is a project designed to train a GPT (Generative Pre-trained Transformer) model on custom datasets. It provides the capability to train the model using various data sources, including PDFs, Word documents, plain text files, and URLs.

Features

  • Versatile Training: Train the GPT model on diverse data types, including PDFs, Word documents, plain text files, and URLs.
  • Conversational AI: Utilize the trained model for generating responses in a conversational manner.
  • Easy Integration: Seamlessly integrate Kanao into your projects for natural language understanding and generation.

Getting Started

To get started with Kanao, follow the installation instructions and examples in the documentation.

Installation

pip install Kanao

Usage

from kanao.core.kanao import Kanao
open_ai_api_key = ""

# Initialize Kanao
kanao_instance = Kanao(open_ai_api_key)

# Train the model on custom data
kanao_instance.train_on_pdf('path/to/pdf/file.pdf')

# Generate a response
response_txt = kanao_instance.generate_response("What is in the document?")

For more detailed usage, refer to the documentation.

Contribution

Contributions are welcome! Feel free to open issues or pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for kanao 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kanao 1.0.0
File Size Uploaded Provenance
kanao-1.0.0.tar.gz 10.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kanao 1.0.0
File Interpreter ABI Platform
kanao-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / kanao-1.0.0.tar.gz

Download URL kanao-1.0.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
139d1ca6fedb1cd2fe1d8482ed2a84e931c7a67dc06f1263b9416f707dd4af8a
BLAKE2b-256 checksum
How to use checksums
1fbca1b2c8105aadb4b25ddecac27b2a8012a4ae7244e304e2c8412d68fcb4b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.11.6 Windows/10

Release files / kanao-1.0.0-py3-none-any.whl

Download URL kanao-1.0.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4002cdb5990b70f8be0ae0dfac9f3708cc019e2d08dd192bc27516956344e84
BLAKE2b-256 checksum
How to use checksums
7a25aa15d2d5b67a9f90791653ee5debf1e69cc67fdfa03ab6d9a1240ed943cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.11.6 Windows/10

Security for kanao 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page