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.4.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

ally_ai_core-0.5.4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ally_ai_core-0.5.4.tar.gz
Algorithm Hash digest
SHA256 1aed773ed4c8d43e124a8cc23f05f1468e13df5433e97014dff184c0153d4518
MD5 6eb6946bce74cc615d76fdd2369e8bbb
BLAKE2b-256 362c50bd68bfa0f118725fc76d2dda3777fc29a42314ab26df5b3094fe68edb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ally_ai_core-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1089e8ba0c2e77ac95c2c88727209ee3ed55c9ba1de18c6538adc113fbbbdc89
MD5 cd9e78d65a8b39697d76366dfb01d6bc
BLAKE2b-256 8e100519e1cf1fd8a43c821b09924fa450498dc5c20a1b23ac9d8a17aba29a71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page