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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ally_ai_core-0.5.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6f078d56becc022c7910bb83767fd57a94de6c4d5071901b3d9e460b37aa64a9
MD5 c928b10c058fade1dc573a74cb6f6a92
BLAKE2b-256 6ea94d06788aa72d8e8f052d4322e8e928cff88440dc4a836d90214efbb54afb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ally_ai_core-0.5.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b63f569cab55e4c0499915c79f07e69a2570ebdbb1ff31af92ce4e5d77b29021
MD5 17980f854e543afee5c8ab4a43953533
BLAKE2b-256 773d1cc2dfc57253ea7caeb5eda1ec2ba28a68acb0638660cc3c8d36bc633593

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