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.0.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8ac7faa220e420b6163ed1b5b6ed585d2f92f9c7a8b5df08709c8dde68e840 |
|
MD5 | 7ba913e7c0fb916d04dc9cc79c136b97 |
|
BLAKE2b-256 | 21e56be7cb66c052663a7acdad0146c7d4f3083a939007d42cc05e8c6a82e501 |