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

 

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.
Use the first call to set the chat behaviour.

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)

Created with the Personal Edition of HelpNDoc: Easily create Qt Help files