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.3.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8b9cb75b332f4bb895e27d08eda8faf9171caf93e984b7add5fcda2e8f4b01 |
|
MD5 | 2078dbb0b73751ba2839f60d6030b989 |
|
BLAKE2b-256 | e21107e1dcc507dbe9f26e840e281a1f78ed17f8bdb4f8288e440532b4b935f7 |