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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ally_ai_core-0.5.6.tar.gz
Algorithm Hash digest
SHA256 b66f7eb8d6a6a5e10e5caf4147cddfb94354902c592e9afe020e0a157eab8559
MD5 e140e1267132be01b806d73cb1495c88
BLAKE2b-256 08a320a9946291d2123b53900815e4112dd18fb05236b80ff03594a8a58aac4a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ally_ai_core-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c785ae724a83058319761de0396299a810da8364de7e4bdb0fb0ecd296776c6a
MD5 b9a5d17c018dc3e8b126057717c22bec
BLAKE2b-256 d8a608093314e3e9a79b510674ba7432fce83cc61d0a67423dbc4167905ecf29

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