Giter Site home page Giter Site logo

bff's Introduction

BFF: A real-life implementation of Samantha from "Her"

Now you can have a Samantha of your own!

BFF is an open-source initiative to create a personal AI assistant similar to the OS'es from the movie "Her". Like Samantha, your BFF will tailor its personality to you, be incredibly insightful, and will truly understand you. It will feel like talking to a smart, caring, and down-to-earth friend.

Modules

BFF modules

Use Cases

We are building BFF to be good at things ChatGPT can't do well. Here are some things you will be able to do with BFF:

  • Brainstorm ideas
  • Look at a problem from a new angle
  • Ask for advice
  • Find gaps in your thinking
  • Set the mood for the day
  • Joke around

Getting Started

Today, you can interact with BFF through a Telegram bot, making it feel like you're talking to a friend. We're also working on new interfaces, and we welcome contributions. If you are interested in building the best interface for personal AI, join the Discord and let's build together.

Setting up your Telegram bot

Step 1: Clone the BFF project

  • Clone the BFF project repository to your local machine: git clone https://github.com/TheSlavant/BFF.git

Step 2: Create your bot

  • Open Telegram and search for "BotFather".
  • Send "/newbot" to BotFather and follow the prompts to create your bot. Choose a name and a username that ends with โ€˜botโ€™ (e.g., mybff_bot).
  • After creation, BotFather will give you a token. This token allows your application to communicate with the Telegram API. Keep it secure.

Step 3: Set up your BFF

  • Navigate to interface/telegram-bot/ in the BFF project.
  • Open bff-telegram-bot.py. Replace the TELEGRAM_TOKEN placeholder with your actual bot token.
  • Update the system_prompt line in bff-telegram-bot.py to include your chosen prompt. Check out the prompts directory for prompt ideas you can use.

Step 4: Run the code and say hi to your BFF

  • Make sure Python and all dependencies are installed. Install any necessary libraries using pip.
  • Run your BFF: python bff-telegram-bot.py.
  • Your BFF is now live on Telegram! Say hi, ask for advice, and have fun.
  • BFF can run using GPT or Claude models. GPT-4 is default. Message claude to switch to Claude 3 Opus. Message gpt to switch back to GPT. Message forget any time to start a new chat with the current model.

bff's People

Contributors

theslavant avatar asapsav avatar

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.