This project is an article and text translator using Azure OpenAI Service with LangChain, developed in Python and executed in Google Colab.
The notebook allows you to:
- Extract text from articles (e.g., web pages)
- Translate the content into another language
- Return the result in Markdown
- Python
- Google Colab
- Azure OpenAI Service
- LangChain
- BeautifulSoup
- Requests
- Open the
article_translator.ipynbnotebook in Google Colab. - Configure your Azure OpenAI credentials.
- Run the cells in order.
- Provide the text or URL to be translated and wait for the result.
Example of a function available in the notebook:
translate_article(
"Let's see if the deployment was succeeded.",
"português"
)Expected output:
Let's see if the deployment was successful.