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.2.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3646f0d90e24d4d8a0bc9ca7596f10e0bdc0224ab36ef2d381c02f016a12d620 |
|
MD5 | 48825fcc0b52738a8784161005c9b5cf |
|
BLAKE2b-256 | 87f7d5c1b48f2e4ddfadb2a82a2ae89916d46dbd255d266eca1025916c9c186c |