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.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fccc6e209d031c3eccc2ba79d7caa15b9d650e5cb82f5fa38e974e443c9697 |
|
MD5 | 3f62a11802874ba1ee65c87e5110a742 |
|
BLAKE2b-256 | 063a49e6cf0df1bb1f483c27260d5c1c317e7ee54b1c7c86b0f41d94e790f06c |