Old imports will still work.
ObservabilityPython
Upgrading to v3
Maxim SDK Initialization changes
apiKey
is nowapi_key
inConfig
baseUrl
is nowbase_url
inConfig
Import changes
We have pulled out most commonly used imports at the relevant places.
from maxim.logger import Logger, LoggerConfig
instead offrom maxim.logger.logger import Logger, LoggerConfig
from maxim import Maxim, Config
instead offrom maxim.maxim import Maxim, Config
from maxim.logger import Trace, TraceConfig
instead offrom maxim.logger.trace import Trace, TraceConfig
Prompt management changes
getPrompt
is nowget_prompt
getPromptChain
is nowget_prompt_chain
getPrompts
is nowget_prompts
getPromptChains
is nowget_prompt_chains
getFolder
is nowget_folder
getFolders
is nowget_folders