Skip to main content

Library to interact with Expert AI Answers engine

Project description

Answers Lib

Library to interact with Expert AI Answers engine.

Installation

pip install eai-answers-lib

Usage

from eai_answers_lib import Answers

a = Answers()
result = a.get_answers(query="Your question")

Authentication

a = Answers(
    enable_auth=True,
    client_id="your-client-id",
    client_secret="your-client-secret"
)

Environment Variables

  • ANSWERS_ENDPOINT - API endpoint URL
  • ANSWERS_CLIENT_ID - Client ID for authentication
  • ANSWERS_CLIENT_SECRET - Client secret for authentication

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

eai_answers_lib-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

eai_answers_lib-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file eai_answers_lib-0.1.0.tar.gz.

File metadata

  • Download URL: eai_answers_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for eai_answers_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 389410e20f9787d02416479722c63ed078b7e2cd415e5eb442d45c3255a90079
MD5 ac07970e474701de050a7d68d6590034
BLAKE2b-256 85f45502df62c553ed1b0b4cb3ca329f68a1c8b0204a61e31aadf28b0b15f5e1

See more details on using hashes here.

File details

Details for the file eai_answers_lib-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eai_answers_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f27a6d3a0b3aaba0f3d16c666fb86883e5ba7b06519b7bedda49b556fe82f39
MD5 42c5e36f5eb212e1305e148c0d10b095
BLAKE2b-256 1c79075055a95078b3c878c8bf3451a52c93b2aa039b0243d838186908e3075f

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