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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ally_ai_core-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 34f86b3a10615f5517aed80b579220bbe8b91b8e2b50f70d18f06c495ddc3cce
MD5 1441a7ed67b86687274c66a838ab6df4
BLAKE2b-256 1818e8042b9db87d55c508c2ad072a50af4f9fc9eb1dd2eec6dd5c0f15accc50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ally_ai_core-0.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1461bd0559b8c6f7e7910103ae7abe1acf37eb3b8eeabe2d148e7a380671e697
MD5 8f9aec775cb7efdffa02fead6369df90
BLAKE2b-256 8cf0742fcb670b7265036ff1cc28a27fa773f9bd3980f4fca3d2e3a5f2b0a55e

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