Socket
Book a DemoInstallSign in
Socket

ruboty-openai_chat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruboty-openai_chat

0.4.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Ruboty::OpenAIChat

OpenAI responds to given message if any other handler does not match.

This gem uses conversation with an AI assistant like https://beta.openai.com/examples/default-chat as prompt for OpenAI.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add ruboty-openai-chat

Commands

ruboty /remember chatbot profile (?<body>.+)/ - Remembers given sentence as pretext of AI prompt
ruboty /show chatbot profile/ - Show the remembered profile

ENV

  • OPENAI_ACCESS_TOKEN - Pass OpenAI ACCESS TOKEN
  • OPENAI_ORGANIZATION_ID - Pass OpenAI Organization ID"
  • OPENAI_CHAT_PRETEXT -
  • OPENAI_CHAT_LANGUAGE - Pass your primary language", optional: true
  • OPENAI_CHAT_MEMORIZE_SECONDS - AI

Development

See: HOW_TO_DEVELOPMENT.md

FAQs

Package last updated on 23 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.