Skip to content

OpenAI Advanced Node

OpenAINode Advance


Overview

This node in LiteGraph facilitates interactions with OpenAI’s language models like GPT-3.5 and GPT-4. It’s designed for various NLP tasks.


Inputs and Outputs

Input: Accepts ‘string’ input for language model processing.

Output: Outputs the processed result from the language model.


Properties

Model: Choose from options like ‘gpt-3.5-turbo’, ‘gpt-4’, etc.

Secret: API key for accessing OpenAI services.


Functionalities

Includes functionalities for summarization, entity extraction, sentiment analysis, and more.


Widgets

Model Selector: Choose the language model.

Secret Selector: Select the API key for access.


Usage

1. Connect a string input.

2. Choose the model and API key.

3. The node processes and outputs the result.