Code Monkey home page Code Monkey logo

texttender's Introduction

Text Tender: AI-Powered iMessage Autoresponder

image

Are you tired of having to interact with friends and family?

Text Tender is a Python-based application that integrates OpenAI's Chat GPT into Apple's Messages app, providing an intelligent and convenient autoresponder for your iMessages while you're away. Harnessing the power of cutting-edge language models, Text Tender ensures that your contacts receive timely, relevant, and engaging replies.

Key Features

  • Seamless integration with Apple's Messages app
  • Powered by OpenAI's Chat GPT for natural, context-aware responses
  • Customizable settings to adapt to your preferences
  • Designed for macOS, requires a Mac to run

Getting Started

To get started you need to create a config.json file in the root directory.

{
  "OPENAI_API_KEY":
  "RECIPIENTS": {
    "+1xxxxxxxxxx": {
      "NAME": "Sally",
      "SYSTEM_MESSAGE": "Pretend you are a 24 year old texting his friend. Respond to the messages as if you are texting."
    },
    "+1xxxxxxxxxx": {
      "NAME": "John",
      "SYSTEM_MESSAGE": "Pretend you are a 24 year old texting his friend. Respond to the messages as if you are texting."
    }
  },
  "YOUR_NUMBER": "+1xxxxxxxxxx",
  "TEST_MODE": true,
  "CONTEXT_DEPTH": 10
}

Future Plans

Currently it uses the past 20 messages as context for the model. It would be fun to explore a vector database that can provide improved context.

Disclaimer

Text Tender is meant to be a joke and fun proof of concept. Always get permission from people and let them know they are chatting with a LLM.

Text Tender utilizes OpenAI's Chat GPT, which is an AI language model. As such, it may occasionally produce unexpected or inappropriate responses. Please use Text Tender responsibly and always review its responses when possible. The developers of Text Tender are not responsible for any misuse or consequences arising from the use of this application.

texttender's People

Contributors

trackspike avatar

Stargazers

cojovi avatar Tim Kersey avatar Jevin Sweval avatar

Watchers

Jevin Sweval avatar  avatar  avatar

texttender's Issues

"No messages" no matter what :( The documentation could be improved upon and revised.

The issues I am encountering with the TextTender repository revolve around the message retrieval and processing functionality. Despite following the provided instructions and configuring the config.json file correctly, the program does not seem to recognize any new messages.

I have carefully verified that the recipient's phone number in the config.json file matches the number I am sending messages to, ensuring there are no formatting errors. The recipient's details are correctly included in the RECIPIENTS section of the configuration file, with no extraneous characters or formatting discrepancies.

Upon further investigation, I have examined the MessageDatabase class, specifically the get_new_messages() and get_all_messages() functions. However, these functions do not appear to retrieve the new messages or all messages as expected. I have attempted to add print statements and debug the code, but I have no clue how to code, nor do I know what any of it means, therefore; I have not been able to identify any obvious issues.

I have considered the possibility that the iMessage reader or message retrieval component of the code may be the source of the problem. I have reviewed the code and documentation provided, but have not found any specific troubleshooting steps or configurations related to this aspect. I've also considered the permissions may be blocking the service from accessing my messages.

Overall, despite my efforts to correctly set up and utilize the TextTender repository, I have not been successful in getting the program to recognize and process the messages I send. I would greatly appreciate any further guidance or assistance in resolving these issues and making the autoresponder functionality work as intended.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.