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.5.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f09ac7bb55c7474a48d78d9df0901ec2d29e658bce5abf43808ae45c506a019 |
|
MD5 | d4e1b3e83a610dc96589b9df08b3cdf1 |
|
BLAKE2b-256 | 01857acede05adf0a91bacaef135025966b967ced6c667141b6d78d0d02cf5d5 |