extended_openai_conversation
extended_openai_conversation copied to clipboard
Notify function for any device/messenger
This is my version of the notify function. It is tested with GPT 4. Just tell which entity should be notified. (Disclaimer: With great power comes great responsibility. More capabilities for ChatGPT also mean a higher security risk if an unknown person gains access to it.)
- spec:
name: send_message_to_messenger
description: Use this function to send messages to a messenger.
parameters:
type: object
properties:
service_name:
type: string
description: The specific notify service to use, dynamically set at runtime.
message:
type: string
description: The message you want to send.
title:
type: string
optional: true
description: The title of the notification, if applicable.
target:
type: array
items:
type: string
optional: true
description: The recipient that will receive the notification. It's platform specific.
data:
type: object
optional: true
description: Additional data for extended functionality, it's platform specific.
required:
- service_name
- message
function:
type: script
sequence:
- service: "{{ service_name }}"
data:
message: "{{ message }}"
title: "{{ title | default('') }}"
target: "{{ target | default([]) }}"
I don't know if this has something to do with ChatGPT 4, but with GPT 3.5 this does not work for me.
Thanks for reporting an issue. Feel free to create pull request.