Skip to content

Conversation

ks6088ts
Copy link
Member

What this PR does / why we need it

  • use foundry local with LangChain

Which issue(s) this PR fixes:

Fixes #237

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

  • Get the code
git clone [email protected]:ks6088ts-labs/workshop-azure-openai.git
cd workshop-azure-openai
  • Test the code
make ci-test

What to Check

Verify that the following are valid

  • ...

Additional Information

@ks6088ts ks6088ts requested a review from Copilot May 19, 2025 23:24
@ks6088ts ks6088ts self-assigned this May 19, 2025
@ks6088ts ks6088ts merged commit 16cbbb2 into main May 19, 2025
6 checks passed
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables the usage of Foundry Local with LangChain by adding a dependency and introducing a new translation application. Key changes include:

  • Adding "foundry-local-sdk>=0.3.1" as a dependency in pyproject.toml.
  • Implementing a new script in apps/1_call_azure_openai_chat/foundry_local_app.py that integrates FoundryLocalManager with LangChain for translation.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pyproject.toml Added foundry-local-sdk dependency to support Foundry Local usage.
apps/1_call_azure_openai_chat/foundry_local_app.py New translation app that integrates Foundry Local and LangChain.

@ks6088ts ks6088ts deleted the feature/issue-237_foundry-local branch May 19, 2025 23:24
@ks6088ts ks6088ts restored the feature/issue-237_foundry-local branch May 19, 2025 23:24
@ks6088ts ks6088ts deleted the feature/issue-237_foundry-local branch May 19, 2025 23:24
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.

support Foundry Local
1 participant