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.3.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for ally_ai_core-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24099b4cee7f356c4640be9e386b0de0d8015e04f8b18eca46e3b1274df729ec |
|
MD5 | 9906f4a954e35c4a11a2ad78c2b7992b |
|
BLAKE2b-256 | 4e5e5091c7b0c3293a93aabc8780def4d124a38cb84b59b1999f629530de5af2 |