Skip to content

Adding Langchain example #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Adding Langchain example #3

merged 1 commit into from
Mar 25, 2024

Conversation

pamelafox
Copy link
Owner

Purpose

Fixes #2 (somewhat) by adding a Langchain example that shows how to switch between the three provider options and do a simple chat completion. I can potentially port the other examples in future to langchain as well if it is useful (or others can).

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Run example for each provider, azure, openai, ollama

Screenshot 2024-03-25 at 4 12 30 PM

@pamelafox pamelafox merged commit 32fd49e into main Mar 25, 2024
1 check passed
@pamelafox pamelafox deleted the langchain branch March 25, 2024 23:15
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.

Switching to LCEL
1 participant