Skip to content

v0.1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@danny-avila danny-avila released this 23 Mar 18:33
· 1585 commits to main since this release

What's Changed

Adds SearchBar for Fast Message & Conversation searching

image

- Optional and configurable, powered by Meilisearch

  • Basic usage: will search after short delay of last keystroke in searchbar
    • Shows up to 20 messages matching the query. No messages will result in Landing Page.
    • Navbar shows conversations with at least 1 hit in messages or title, sorted by most number of hits within a convo, to least
    • No conversation matches will show empty nav bar, and will show as many hits with criteria above
    • Easily clear the searchbar by hitting 'new chat'
    • Click a conversation title over a message to open a conversation and use as normal.
  • Easy setup with docker, necessary environment variables shown and explained in .env.example
Click here for Full Setup Instructions

Enabling Search:

  • Requires installation of free self-hosted Meilisearch or Paid Remote Plan (Remote not tested)
    • The easiest setup for this is through docker-compose, which takes care of it for you.
    • for local instructions, see the official meilisearch site
  • Follow .env.example for proper env variable setup.
  • Note: environment variables are DIFFERENT for Local vs. Docker use.
Local batch file instructions (windows)

@fuegovic (thank you for this): In case someone is wondering, here's the content of the batch file I used to get the search working without docker. The search function also needs to be enabled in the .env file.

@echo off

REM place the meilisearch executable at the root of the chatgpt-clone directory

start "MeiliSearch" cmd /k "meilisearch --master-key WjRvKvpelIYHa4dlcDGsdT9c0CKRbY-4VcuCQ1iZPcc

REM meilisearch is the name of the meilisearch executable ↑↑↑

REM meilisearch will generate a master key when you start meilisearch without providing one

start "ChatGPT-Clone" cmd /k "cd api && npm start"

REM this batch file goes at the root of the chatgpt-clone directory (edited)

I think that's the bare minimum to have it working, I just downloaded the meilisearch executable from github and placed it in the root folder after pulling the search-final branch (I also did the npm ci and npm build steps once after updating)

Other changes

  • Clearing all conversations now requires confirmation from prompt
    image
  • Edit user messages in conversations with Sydney for branching the conversation #115
  • Supports changing ChatGPT Browser model through .env file, see .env.example for proper env variable setup.
    • This enables use of GPT-4 for ChatGPT Plus members through the ChatGPT Browser model #114

Immediate roadmap:

  • more customGPT and Sydney parameters (response temps, changing openai models, editing system message for Sydney)
  • Improve bing features (styling, params, fix formatting bugs), thank you @HyunggyuJang
  • Cleanup code & writing a test suite for better CI/CD

Notable planned features:

  1. Prompt templates
  2. Keyboard commands
  3. Folders view in Nav
  4. Configurable settings per user for UI preferences

Tagging for major contributions up to this point @wtlyu

Full Changelog: v0.0.6...v0.1.0