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
Release history Release notifications | RSS feed
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.1.3.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97aa417cfb4e8c17b6c1cf33892f32cc739260541e3c689a15c88434230e27eb |
|
MD5 | 73ec4c42fcfcdb6aa90e247a13c1ff9a |
|
BLAKE2b-256 | 77b16c89deb71df376f8440e38b1d8df52529573a1370c5e36e1dbfb0cbd8f3e |