Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Conversation

mongodben
Copy link
Collaborator

Jira: https://jira.mongodb.org/browse/EAI-1284

Changes

  • Fix bug where analyzer model wasn't working b/c of bad API version. Fix by using a different OpenAI client. Remove broken one
  • Remove unused preprocessor client

Notes

export const loadPage = wrapTraced(pageStore.loadPage, {
name: "loadPageFromStore",
});

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was unused

apiVersion: OPENAI_API_VERSION,
})
);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this wasn't working and also redudant with the other azureOpenAi provider. remove this, and switch to azureOpenAi provider below to make work

@mongodben mongodben changed the title (EAI-1284): fix analyzer API bug (EAI-1284): Fix analytics Azure OpenAI calls Aug 27, 2025
@mongodben mongodben merged commit 3650759 into main Aug 29, 2025
2 checks passed
@mongodben mongodben deleted the EAI-1284 branch August 29, 2025 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants