neoOpenRouter
Plugin for OpenRouter.ai to enable different AI models for conversational interfaces and chatbots that can understand and respond to user inputs.
OpenRouter is an API platform that provides a standardized interface for accessing a variety of AI models from different providers.
Overall, the OpenRouter API provides a convenient and standardized way for developers to access a variety of AI models, without having to integrate with each provider individually. This can save time and effort, making it a valuable tool for those working with multiple AI models and providers.
OpenRouter API Key required
version: 1.0
More info:
https://openrouter.ai
Description
The neoOpenRouter plugin in VisualNEO Web is a versatile tool that enables integration with a variety of advanced AI models, including language models like GPT-4, and other popular open-source models, through the OpenRouter API. This plugin extends the capabilities of VisualNEO Web applications, allowing developers to incorporate cutting-edge AI-driven features directly within their apps. Here are some of the primary functionalities and uses of neoOpenRouter:
- Text-Based AI Interactions:
- Using neoOpenRouter, developers can generate text-based responses based on user inputs by interacting with a range of AI models, ideal for creating smart assistants, interactive learning tools, or personalized content generation features.
- The plugin facilitates setting different creativity and precision levels, allowing control over the tone and depth of the AI responses, enhancing the versatility of AI interactions based on the specific application context.
- Model Flexibility and Customization:
- neoOpenRouter supports accessing various models through OpenRouter, including OpenAI’s models and models from other providers, enabling developers to choose the most suitable model for their application’s requirements.
- It also provides the flexibility to configure specific model parameters for each interaction, supporting tailored, model-specific responses for different application scenarios.
- Integration of Real-Time User Interactions:
- This plugin is designed for real-time response handling, where user inputs are processed by the selected AI model, and the outputs are instantly displayed within the VisualNEO Web app, creating a dynamic and interactive user experience.
- Use Cases:
- neoOpenRouter can be used to create interactive chatbots, content recommendation engines, automated customer service agents, educational tools, and more, by leveraging the language understanding and generation capabilities of state-of-the-art AI models.
By incorporating the neoOpenRouter plugin, VisualNEO Web applications can be augmented with sophisticated AI-driven features, significantly enhancing the interactivity, responsiveness, and functionality of web applications.
neoOpenRouterSetApiKey
Purpose: |
Set OpenAI API Key (Use with caution) |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetApiKey "apiKey"
apiKey API Key |
neoOpenRouterSetModel
Purpose: |
Set a valid LLM model |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetModel modelName
modelName GPT model name |
neoOpenRouterSetAppName
Purpose: |
Set App name. Optional. Shows in rankings on openrouter.ai. |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetAppName "appName"
appName App name |
neoOpenRouterSetWebsite
Purpose: |
Set website name. Optional, for including your app on openrouter.ai rankings. |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetWebsite "webSite"
webSite Website URL |
neoOpenRouterSetCreativity
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetCreativity creativityValue
creativityValue Creativity level |
neoOpenRouterSetContext
Purpose: |
Manage the length of the conversation context to maintain coherence over extended interactions |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterSetContext arrayVar maxLength
arrayVar Array variable storing the conversation maxLength Maximum length of conversation history |
neoOpenRouterText
Purpose: |
Generate a text answer to a user prompt |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterText "promptText" returnVar callback
promptText Prompt text returnVar Variable to store text answer callback Callback subroutine (optional) |
neoOpenRouterChat
Purpose: |
Generate a text answer to a user prompt and retains conversation. |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterChat "promptText" returnVar arrayVar callback
promptText Prompt text returnVar Variable to store text answer arrayVar Array variable to store conversation callback Callback subroutine (optional) |
neoOpenRouterJson
Purpose: |
Generate a JSON answer to a user prompt. When using JSON mode, you must also instruct the model to produce JSON yourself via prompt. |
Category: |
neoOpenRouter |
Syntax: |
neoOpenRouterJson "promptText" returnVar callback
promptText Prompt Text returnVar Variable to store text answer callback Callback subroutine (optional) |
Created with the Personal Edition of HelpNDoc: Easily create Qt Help files