<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>openai on Rise-</title><link>https://madil.in/tag/openai/</link><description>Recent content in openai on Rise-</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 17 Jan 2025 15:43:28 +0000</lastBuildDate><atom:link href="https://madil.in/tag/openai/index.xml" rel="self" type="application/rss+xml"/><item><title>Tagging and Summarizing Articles with OpenAI and LangChain</title><link>https://madil.in/tagging-and-summarizing-articles-with-openai-and-langchain/</link><pubDate>Fri, 17 Jan 2025 14:45:20 +0000</pubDate><guid>https://madil.in/tagging-and-summarizing-articles-with-openai-and-langchain/</guid><description>&lt;p&gt;In this post, we build a simple AI-enabled application for tagging and summarizing articles by leveraging OpenAI and LangChain.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;📌 TLDR; we will try to mimic some functionality of &lt;a href="https://m.inshorts.com/"&gt;Inshorts&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Under the hood, our application will use &lt;a href="https://platform.openai.com/docs/guides/function-calling"&gt;OpenAI function calling&lt;/a&gt; to interact with a Large Language Model and get a structured output with a summary of the article, its language, and associated tags.&lt;/p&gt;&#10;&lt;p&gt;Firstly, we import our OpenAPI Key in the environment variable and add the necessary imports.&lt;/p&gt;</description></item></channel></rss>