You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -197,6 +197,10 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
197
197
198
198
### Basic Usage of LangChain Transformer
199
199
200
+
> [!NOTE]
201
+
> E.g: Automate the process of generating definitions for technology terms using a language model.
202
+
> `The LangChain Transformer` is a tool that makes it easy to use advanced language models for `generating and transforming text`. It works by `setting up a template for what you want to create, linking this template to a language model, and then processing your data to produce the desired output`. This setup `helps automate tasks like defining technology terms or generating other text-based content`, making your workflow smoother and more efficient.
203
+
200
204
> `LangChain Transformer helps you automate the process of generating and transforming text data using advanced language models`, making it easier to integrate AI capabilities into your data workflows. <br/>
201
205
> 1. `Prompt Creation`: Start by `defining a template for the kind of text you want to generate or analyze`. For example, you might create a prompt that asks the model to define a specific technology term. <br/>
202
206
> 2. `Chain Setup`: Then `set up a chain that links this prompt to a language model`. This chain is responsible for sending the prompt to the model and receiving the generated response. <br/>
@@ -283,6 +287,10 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
283
287
284
288
### Using LangChain for Large Scale Literature Review
285
289
290
+
> [!NOTE]
291
+
> E.g: Automating the extraction and summarization of academic papers: script for an agent using LangChain to extract content from an online PDF and generate a prompt based on that content.
292
+
> An `agent` in the context of programming and artificial intelligence is a `software entity that performs tasks autonomously`. It can interact with its` environment, make decisions, and execute actions based on predefined rules or learned behavior.`
293
+
286
294
1. **Define Functions for Content Extraction and Prompt Generation**: Extract content from PDFs linked in arXiv papers and generate prompts for extracting specific information.
0 commit comments