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.4.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cac18573c2ddab68d693d00c69b6cb7ea2b4fbcdb061dcfeb90272ce37067d |
|
MD5 | c6e3e44b1e758421c7f2ac860b905366 |
|
BLAKE2b-256 | ea5283cbb0d3ae80cdaf8842e17f4a7ceb6103cab2d0e711137f1816285ef762 |