Giter Club home page Giter Club logo

echoes's People

Stargazers

 avatar  avatar  avatar

Forkers

baghel-sumit

echoes's Issues

OG Image and Metadata

  • Add OG image
  • Add metadata for title

The OG should use the title of the chat, echoes logo as the the thumbnail, OG image generated by vercel/og. The description could be generic with the format:

“Confidential conversation. Intended for sharing within the respective organisation only.”

Fix the markdown formatting

  • Override style for rendering of html tags within the rendered markdown text (react-markdown, remark-gfm)

Note, we need to have styling that matches or directly uses the styling in shadcn components for visual consistency

Move to TursoDB

  • Create a branch with tursodb based app
  • Migrate the data from planetscale to turso at night for complete db switch

Add chat to diagrams

Echoes uses tldraw to provide diagramming. Add visual chat to it using GPT-4V

Improve Audio Playllist

  • Navigation Menu
  • Add pagination
  • Changing order of the audio's (dragging to change order)
  • Removing from queue
  • Play button at the card level summarizes the chat and starts playing the summary

Add s3 for file upload

  • Integrate app's s3 bucket for file uploading inside a chat
  • Show a list of files using shadcn data table (Modal)
  • Allow users to use one or more of company’s files in the chat

NOTE:

  • If there are files inside folders, just show each file in a flat table like (foldername/subfoldername/filename.pdf) instead of creating a hierarchical file browser

  • Originally it was planned to use uploadthing to simplify development, however given the data is confidential it cannot be stored in an external service.

Some useful blogs

mobile friendliness with PWA

App Like Usability when Offline

Mobile Friendly UI

Better App Start

Optimisations

—-

Additional References

Implement Assistant API for RAG

  • Assistant id on the org level (default: echoes-orgslug, ex: echo-exrna)
  • some kind of evaluation test for knowledge base (allows users to upload csv containing MCQ's to test the reliability of knowledge base

  • Adding knowledge base
  • use user access permission for allowing to add data to knowledge base

Add audio transcription

Allow users to speak their queries instead of typing.

  • Integrate whisper
  • Add UI for audio transcription

Custom GPT's

  • Allow to choose from all the available GPT's when the user initiates chat
  • Documentation GPT (supporting special kind of syntax @ for tagging people and echo itself(by default) in the org, #{chatId/title} to reference another chat

Improve observability

  • Add sentry to create issues against runtime exceptions in prod
  • Add langsmith for LLM/Langchain

Add scroll helpers for chat

  • Scroll up and down through chat (anchored at each user question)
  • Add floating buttons at bottom right corner of the screen with up and down arrows
  • When the up or down button is held pressed for longer than a second, go all the way to top or bottom respectively

Improve Chat UI

  • split the chat message in two equal halfs for a certain screen resolution and above
  • question (user message) and answer (ai response) should be visible at the same level if the screen is wider than a certain size (ex- 1200px)
  • question and it's answer should behave in sticky manner (question should not be moved from visible viewport until it's answer is fully scrolled to the bottom)
  • Inputs(questions) having mentions or # tags should be in the center (acc. to screen width)

Add context menu for predefined prompts

Allow prompting on a text selection:

  • Are You Sure? ["Is the following statement by you (an AI) true?: "{selection}""] (S)
  • Explain This ["Explain the meaning of "{selection}""]
  • Elaborate ["Go in great detail, and demonstrate expertise in the internal workings of the concepts involved: "{selection}""] (E)
  • Analyse This Critically ["Criticise this viewpoint by presenting facts. Criticism presented should be scientific in nature and spirit. Statement: "{statement}""] (C)
  • I Need Examples ["Present some examples of: "{selection}""] (E)
  • I Need References ["Provide some references for this: "{selection}""] (R)

https://ui.shadcn.com/docs/components/context-menu

Handle running out of context length gracefully

  • Automatically switch from gpt-4 to gpt-3.5-16k and from gpt-3.5-16k to gpt-3.5-32k
  • If the context size is still exceeded, Show an error UI stating the chat has reached its maximum length

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.