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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ally_ai_core-0.5.7.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.7.tar.gz
Algorithm Hash digest
SHA256 c69f83aa4103742242127abdd7d4b679c832a6d43a3a7fbaca84b8471e56a6a3
MD5 963e6b5d983bea4caea0f5585fdd40af
BLAKE2b-256 bceb5dec3de3bc002f1be923e54ba76067f1bb5cad4bded59dafd5d8ea536d30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ally_ai_core-0.5.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 69aa0fb7860c7a06814398e74cc6c30616555d12943006ce08f910a1e3eebf8b
MD5 807dd68044308718c84248b11ed827a4
BLAKE2b-256 defa64a10cf91b1f7395f877c3122bd472f313351ac904257ba089cbfa82887c

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