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.4.2.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e68e97bdfbbc8fce64a3a51568b85b78b6e3875bff85eb64f1a63934b488549 |
|
MD5 | ab362134e471aeb8f740ec4e9f5e4659 |
|
BLAKE2b-256 | a2922e008ce831f2933ffa51ed6d645a7bf9f289a91271b02d910322a1445061 |