Skip to main content

Core package for ally

Project description

Ally AI Core

How to use

Config File

llm:
  api_key: '<private-key>'
  api_version: "<api-version>"
  endpoint: "<endpoint>"
  model: "<model-name>"
  deployment_name: '<deployment-name>'
  temperature: 0.7
  streaming: true

embeddings:
  api_key: '<private-key>'
  api_version: "<api-version>"
  endpoint: "<endpoint>"
  model: "<model-name>"
  deployment_name: '<deployment-name>'

Use Custom Settings

my_llm:
  api_key: '<private-key>'
  api_version: "<api-version>"
from ally_ai_core import Settings

settings = Settings(section='my_llm')

Override Settings

from ally_ai_core import Settings

settings = Settings(section='my_llm', api_key='<new-api-key>')

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

ally_ai_core-0.6.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

ally_ai_core-0.6.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file ally_ai_core-0.6.0.tar.gz.

File metadata

  • Download URL: ally_ai_core-0.6.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.10

File hashes

Hashes for ally_ai_core-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c236fbd9ec918a93da3552e94a25e54c5cd06beaf960c2b75a50c39eb9dbc65c
MD5 9f2d979e096c65218c17753e01fec420
BLAKE2b-256 e2e782e2e772e399ce03727f67352378e97575a765f0c4d5c87ff637da511bb3

See more details on using hashes here.

File details

Details for the file ally_ai_core-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: ally_ai_core-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.10

File hashes

Hashes for ally_ai_core-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f23b500c9754210d2a50718acb5598f6147bd71826af3eae914c7cc1cab461ae
MD5 5d29adc00a4bd3406cbb5175a1937a09
BLAKE2b-256 f93681e289ec99709ada4237f5e5aa07887176f9d7c06a24761e9844ecd21181

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