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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ally_ai_core-0.6.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fc9ffe695c6c72f1bd7e914b9e60fe446cc6ed192422ad2872b433f04082a7d7
MD5 332b34b731fb4e034c9ac37a157192f8
BLAKE2b-256 7ffe93762e2bf7a4067ed097410dd6109559e15e4f61d51c5241dc4150119442

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ally_ai_core-0.6.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e064f1beadc8c1dbe68eb8fe6ddeadc91ad590be73c6c9d298c29c7fcb4a15ce
MD5 2f7107e2ce0a2a3ce8053baf4c06da25
BLAKE2b-256 96af1dad22225536dfe70ffebe24c35d376657de30b85de547810e5dd628b2ff

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