Skip to content

Commit 2504b6c

Browse files
authored
Merge pull request #10 from MicrosoftCloudEssentials-LearningHub/ai-llms-tips
+ tips
2 parents 14fe971 + 9750d2d commit 2504b6c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

AzurePortal/2_AI_LLMs/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Costa Rica
55
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
66
[brown9804](https://github.com/brown9804)
77

8-
Last updated: 2025-01-29
8+
Last updated: 2025-03-13
99

1010
------------------------------------------
1111

@@ -197,6 +197,10 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
197197
198198
### Basic Usage of LangChain Transformer
199199
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+
200204
> `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/>
201205
> 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/>
202206
> 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/"`,
283287
284288
### Using LangChain for Large Scale Literature Review
285289
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+
286294
1. **Define Functions for Content Extraction and Prompt Generation**: Extract content from PDFs linked in arXiv papers and generate prompts for extracting specific information.
287295
288296
<img width="550" alt="image" src="https://github.com/user-attachments/assets/54b0b122-e71e-4040-ad69-dd01b0411b3f">

0 commit comments

Comments
 (0)