Skip to content

Commit fd2e181

Browse files
authored
new comment
1 parent 4f9e59b commit fd2e181

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • 0_Azure/2_AzureAnalytics/0_Fabric/demos/13_FabricAI_LLMs

0_Azure/2_AzureAnalytics/0_Fabric/demos/13_FabricAI_LLMs/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
251251
252252
### Basic Usage of LangChain Transformer
253253
254+
> `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/>
255+
> 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/>
256+
> 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/>
257+
> 3. `Transformer Configuration`: The LangChain Transformer is `configured to use this chain`. It specifies how the `input data (like a list of technology names) should be processed and what kind of output (like definitions) should be produced`. <br/>
258+
> 4. `Data Processing`: Finally, `apply this setup to a dataset.` E.g., list of technology names in a DataFrame, and the transformer will use the language model to generate definitions for each technology.
259+
254260
1. **Create a Prompt Template**: Define a prompt template for generating definitions.
255261
256262
<img width="550" alt="image" src="https://github.com/user-attachments/assets/f4a3dea8-d743-46e0-a6e9-279aae457bc8">
@@ -438,4 +444,4 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
438444
<div align="center">
439445
<h3 style="color: #4CAF50;">Total Visitors</h3>
440446
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
441-
</div>
447+
</div>

0 commit comments

Comments
 (0)