shared/util.py [354:360]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if model in ('gpt-35-turbo', 'gpt-35-turbo-16k', 'gpt-4', 'gpt-4-32k','gpt-4o'):
            deployment = os.environ.get("AZURE_OPENAI_CHATGPT_DEPLOYMENT") or "gpt-4o"
        elif model == AZURE_OPENAI_EMBEDDING_MODEL:
            deployment = os.environ.get("AZURE_OPENAI_EMBEDDING_DEPLOYMENT")
        else:
            raise Exception(f"Model {model} not supported. Check if you have the correct env variables set.")
        result = {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



shared/util.py [371:377]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if model in ('gpt-35-turbo', 'gpt-35-turbo-16k', 'gpt-4', 'gpt-4-32k','gpt-4o'):
                deployment = os.environ.get("AZURE_OPENAI_CHATGPT_DEPLOYMENT") or "gpt-4o"
            elif model == AZURE_OPENAI_EMBEDDING_MODEL:
                deployment = os.environ.get("AZURE_OPENAI_EMBEDDING_DEPLOYMENT")
            else:
                raise Exception(f"Model {model} not supported. Check if you have the correct env variables set.")
            result = {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



