Skip to content

Remove Langchain from Themefinder#86

Merged
michaelPD-iAI merged 14 commits intomainfrom
refactor/get_off_langchain
Mar 3, 2026
Merged

Remove Langchain from Themefinder#86
michaelPD-iAI merged 14 commits intomainfrom
refactor/get_off_langchain

Conversation

@michaelPD-iAI
Copy link
Contributor

@michaelPD-iAI michaelPD-iAI commented Feb 24, 2026

Auto eval ran successfully: Slack

Tests all pass

Duplicated Consult pipeline docker images and ran successfully

@michaelPD-iAI michaelPD-iAI changed the title Added openai dependency Remove Langchain from Themefinder Feb 24, 2026
return self._create_azure_llm()
case LLMProvider.LOCAI:
return self._create_locai_llm(callbacks)
return self._create_locai_llm()
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return self._create_locai_llm()
return self._create_azure_llm()

its basically just another openai clone

"api_version": os.getenv("OPENAI_API_VERSION", "2024-12-01-preview"),
"timeout": self.timeout,
}
def _create_azure_llm(self) -> OpenAILLM:
Copy link
Contributor

@gecBurton gecBurton Mar 3, 2026

Choose a reason for hiding this comment

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

Suggested change
def _create_azure_llm(self) -> OpenAILLM:
def _create_llm(self) -> OpenAILLM:

you may not even need a need a function at all here now?

Copy link
Contributor

@gecBurton gecBurton left a comment

Choose a reason for hiding this comment

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

code changes look good, this should get decent test in dev before pushing to prod

@michaelPD-iAI michaelPD-iAI merged commit 92e5d7a into main Mar 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants