Icon

Language Detector

<p><strong>Language Detection</strong></p><p></p><p>Detects the language of the feedback using Large Language Model (LLM). Each comment is labeled with its corresponding language.</p>
Annotations and comments
  • E. Language Detection Detects the language of the feedback using Large Language Model (LLM). Each comment is labeled with its corresponding language.
  • Input Receives the feedback text from the main workflow.
  • Authenticate & Connect Authenticates and connects to the OpenAI API.
  • Format Extracts and formats the model's language result.
  • Output Extracts and formats the model's language result.
  • Prompt & LLM Creates a prompt and sends it to the language model for analysis.
  • Provides the OpenAI API credentials
  • Remove "Language Prompt"
  • Builds a structured prompt using the feedback text
  • Sends the prompt to the LLM
  • Authenticates access to the OpenAI API
  • Connects to a specific LLM model
  • Removes extra quotes and whitespace from the sentiment output
  • Ensures the "Language" column has the correct string format for output
  • Receives the feedback, product details, gift idea, sentiment, and username
  • Sends the language result

Nodes

Extensions

Links