Skip to content
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

Merge latest main hot-fixes to vNext-Dev #815

Merged
merged 18 commits into from
Aug 8, 2024
Merged

Merge latest main hot-fixes to vNext-Dev #815

merged 18 commits into from
Aug 8, 2024

Conversation

dayland
Copy link
Contributor

@dayland dayland commented Aug 8, 2024

This pull request focuses on removing the AZURE_AI_TRANSLATION_DOMAIN configuration and updating the code to use the new ENRICHMENT_ENDPOINT for language detection and translation. Additionally, it includes updates to dependencies and code ownership.

Configuration and Endpoint Updates:

  • Removed AZURE_AI_TRANSLATION_DOMAIN from app/backend/app.py and updated code to use ENRICHMENT_ENDPOINT for language detection and translation. (app/backend/app.py) [1] [2] [3]
  • Updated detect_language and translate_response methods in chatreadretrieveread.py to use ENRICHMENT_ENDPOINT. (app/backend/approaches/chatreadretrieveread.py) [1] [2] [3] [4]
  • Updated comparewebwithwork.py to remove AZURE_AI_TRANSLATION_DOMAIN and use ENRICHMENT_ENDPOINT. (app/backend/approaches/comparewebwithwork.py) [1] [2] [3]

Dependency Updates:

  • Updated langchain and langchain-community dependencies in requirements.txt. (app/backend/requirements.txt) [1] [2]

Code Ownership:

  • Updated CODEOWNERS file to reflect new code ownership assignments. (docs/CODEOWNERS)

Documentation and Miscellaneous:

  • Fixed duplicate TARGET_TRANSLATION_LANGUAGE entry in document_pre_processing.md. (docs/features/document_pre_processing.md)
  • Removed unused azure.ai.vision import and updated language detection and translation endpoints in ImageEnrichment/__init__.py. (functions/ImageEnrichment/__init__.py) [1] [2] [3] [4] [5] [6]
  • Removed AZURE_AI_TRANSLATION_DOMAIN and AZURE_AI_TEXT_ANALYTICS_DOMAIN from TextEnrichment/__init__.py and updated endpoints. (functions/TextEnrichment/__init__.py) [1] [2]

ruandersMSFT and others added 18 commits July 22, 2024 09:40
Bumps [langchain-community](https://github.com/langchain-ai/langchain) from 0.2.5 to 0.2.9.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](langchain-ai/langchain@langchain-community==0.2.5...langchain-community==0.2.9)

---
updated-dependencies:
- dependency-name: langchain-community
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
update langchain to required versions
…gchain-community-0.2.9

Bump langchain-community from 0.2.5 to 0.2.9 in /app/backend
…-to-REST-APIs

Remove vision SDK for REST APIs
Update Language Detection and Translation to use Azure Cognitive Multi Service API
@dayland dayland changed the title [email protected] Merge latest main hot-fixes to vNext-Dev Aug 8, 2024
@dayland dayland merged commit e5c56de into vNext-Dev Aug 8, 2024
4 of 5 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.

3 participants