Skip to main content

A Python SDK for the Nexus Question Generation API

Project description

Example usage in README.md:

"""

from nexus_sdk import HackathonNexusAPI

api = HackathonNexusAPI(api_key="your_gemini_api_key_here")

# Generate questions
files = ["path/to/file1.pdf", "path/to/file2.jpg"]
result = api.generate_questions(files, num_questions=5, difficulty="medium")
print(result)

# Validate answer
validation = api.check_answer(
    question="What is the capital of France?",
    correct_answer="Paris",
    user_answer="London"
)
print(validation)

This allows for fine-grained error handling in your applications. """

Install with:

pip install nexussdk4

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

nexussdk4-4.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

nexussdk4-4.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nexussdk4-4.1.0.tar.gz.

File metadata

  • Download URL: nexussdk4-4.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nexussdk4-4.1.0.tar.gz
Algorithm Hash digest
SHA256 d6bca69f82ba4b992a33e7c1f600cea0e1a1add6473ce61f951d8121f132f7ae
MD5 b5f717ecd612d0fa869b8ea2f8a92757
BLAKE2b-256 9f9f7c91b0bd3bf1b1f0f17a1fc13044d51561e538b68192407c92c41cdc72f3

See more details on using hashes here.

File details

Details for the file nexussdk4-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: nexussdk4-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nexussdk4-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 228aa6ad94f534a767d9fc33116d1192285b7234a92bf22e9642d07ed9704b74
MD5 e7df8535a1a1b1f85d36d45a60ae8edc
BLAKE2b-256 16672be282ee986456bd4b5024a71bf700fb1a8b957803cea169e6201748ec10

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