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.7.tar.gz (20.7 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.7-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ukraine-0.0.7.tar.gz
  • Upload date:
  • Size: 20.7 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.7.tar.gz
Algorithm Hash digest
SHA256 b1eadc59720dc74b0aaa1edbce74bf7f1686278894ea8a187ae3d9e1ccfcd7be
MD5 19232f33e80c291ed61021e0146aa957
BLAKE2b-256 dbd85cdff5b9b06eaa01b06d40be807d854c5427ccde73e53c2b313c94c6103e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ukraine-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 23.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5213893554536347292b87bb2521ed63435399f6b1548cde9943810847d96eb2
MD5 ff6fee76cd2e4eb9d2703087c4112697
BLAKE2b-256 378df01bbd7d553815be244255502b1ec38cb83c7e003d82a3a0f2cfccc242c9

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