Skip to main content

Ukraine: A Data Science Toolkit

Project description

Ukraine

Ukraine is a deep learning toolkit that includes research models, approaches and utils.

Installation

pip install -U ukraine[langchain_llama]
from ukraine.agents.rag import PDFLlamaRAGAgent

agent = PDFLlamaRAGAgent(
    file_path="PATH_TO_PDF",
    system_prompt="""Provide answers based on the document."{context}"""
)
result = agent.chat("What is this document about?")
print(result["answer"])

View this example in the cookbook

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

ukraine-0.0.8.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

ukraine-0.0.8-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file ukraine-0.0.8.tar.gz.

File metadata

  • Download URL: ukraine-0.0.8.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for ukraine-0.0.8.tar.gz
Algorithm Hash digest
SHA256 24828d07712c7147838565b31cdad435010a4b337c3fb56e1c71d074fe32b03a
MD5 9f6026c434d93e0cad87bdc89553054e
BLAKE2b-256 c0d4dfd49e2740b3253ca7afa297e0e4b2813ceeccb779d42ff6b65c391c258e

See more details on using hashes here.

File details

Details for the file ukraine-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: ukraine-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for ukraine-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7b9798db640b87e89b985471631e28991abef5a8d6a70fb2f2bd1167e7a45921
MD5 650d6f4e8ce87d8dd56e3e54c04939ef
BLAKE2b-256 6e918032daff7ce027cd5ce0965a47532cebb4ad8a4e6402fba0de436977be85

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