Skip to content
/ relaiy Public

Relaiy (reel—ayy) is a SaaS platform that streamlines conversational agents. Each agent generates & parses a context tree for each user response, and displays live updates.

License

Notifications You must be signed in to change notification settings

lryanle/relaiy

Repository files navigation

Table of Contents

Overview

Relaiy: A SaaS platform streamlining conversational agents with context tree generation, parsing, and live updates. Tech stack: TypeScript, Express, Twilio, langchain, Prisma, Jest, ESLint, and various type definitions."

Want to see the live site?

View at relaiy.tech

Project Structure

├── .gitignore
├── README.md
├── app
│   ├── 404.tsx
│   ├── analytics
│   │   └── page.tsx
│   ├── api
│   │   ├── auth
│   │   │   └── [...all]
│   │   │       └── route.ts
│   │   ├── chat
│   │   │   ├── _schema.ts
│   │   │   └── route.ts
│   │   ├── chats
│   │   │   └── route.ts
│   │   ├── cost
│   │   │   └── route.ts
│   │   ├── createChat
│   │   │   └── route.ts
│   │   ├── finetuning
│   │   │   └── route.ts
│   │   └── getDataPoints
│   │       └── route.ts
│   ├── conversation
│   │   └── [slug]
│   │       └── page.tsx
│   ├── favicon.ico
│   ├── finetuning
│   │   └── page.tsx
│   ├── globals.css
│   ├── layout.tsx
│   ├── page.tsx
│   └── settings
│       └── page.tsx
├── backend
│   ├── .gitignore
│   ├── eslint.config.mjs
│   ├── jest.config.js
│   ├── package.json
│   ├── pnpm-lock.yaml
│   ├── prisma
│   │   └── schema.prisma
│   ├── src
│   │   ├── app.ts
│   │   ├── db
│   │   │   └── index.ts
│   │   ├── handlers
│   │   │   └── wsMessage.ts
│   │   ├── routes
│   │   │   ├── index.ts
│   │   │   └── twilio.ts
│   │   ├── server.ts
│   │   ├── twilio
│   │   │   └── index.ts
│   │   ├── types
│   │   │   └── llmWebSocket.ts
│   │   └── utils
│   │       ├── mcts.ts
│   │       ├── models.ts
│   │       ├── prompt.ts
│   │       └── threadStatus.ts
│   └── tsconfig.json
├── components.json
├── components
│   ├── agent
│   │   └── inspectagent.tsx
│   ├── analytics
│   │   ├── costbytype.tsx
│   │   ├── costovertime.tsx
│   │   ├── modelusage.tsx
│   │   ├── requestsovertime.tsx
│   │   ├── requeststatus.tsx
│   │   ├── tokensbytype.tsx
│   │   ├── tokensovertime.tsx
│   │   ├── totalusage.tsx
│   │   └── transactionstable.tsx
│   ├── auth
│   │   ├── sign-in-modal.tsx
│   │   └── sign-up-modal.tsx
│   ├── chat
│   │   ├── chat-body.tsx
│   │   └── new-chat-modal.tsx
│   ├── example.tsx
│   ├── icons.tsx
│   ├── magicui
│   │   └── border-beam.tsx
│   ├── nav
│   │   ├── navbar.tsx
│   │   ├── navigation.tsx
│   │   ├── navitem.tsx
│   │   └── sidebar.tsx
│   ├── providers
│   │   └── query-provider.tsx
│   ├── status.tsx
│   ├── table
│   │   ├── columns.tsx
│   │   └── data-table.tsx
│   ├── theme-provider.tsx
│   ├── theme-toggle.tsx
│   ├── timeembed.tsx
│   └── ui
│       ├── accordion.tsx
│       ├── alert-dialog.tsx
│       ├── alert.tsx
│       ├── aspect-ratio.tsx
│       ├── avatar.tsx
│       ├── badge.tsx
│       ├── breadcrumb.tsx
│       ├── button.tsx
│       ├── calendar.tsx
│       ├── card.tsx
│       ├── carousel.tsx
│       ├── chart.tsx
│       ├── checkbox.tsx
│       ├── collapsible.tsx
│       ├── command.tsx
│       ├── context-menu.tsx
│       ├── dialog.tsx
│       ├── drawer.tsx
│       ├── dropdown-menu.tsx
│       ├── form.tsx
│       ├── hover-card.tsx
│       ├── input-otp.tsx
│       ├── input.tsx
│       ├── label.tsx
│       ├── menubar.tsx
│       ├── navigation-menu.tsx
│       ├── pagination.tsx
│       ├── popover.tsx
│       ├── progress.tsx
│       ├── radio-group.tsx
│       ├── resizable.tsx
│       ├── scroll-area.tsx
│       ├── select.tsx
│       ├── separator.tsx
│       ├── sheet.tsx
│       ├── sidebar.tsx
│       ├── skeleton.tsx
│       ├── slider.tsx
│       ├── sonner.tsx
│       ├── spinner.tsx
│       ├── switch.tsx
│       ├── table.tsx
│       ├── tabs.tsx
│       ├── textarea.tsx
│       ├── toast.tsx
│       ├── toaster.tsx
│       ├── toggle-group.tsx
│       ├── toggle.tsx
│       └── tooltip.tsx
├── env.d.ts
├── eslint.config.mjs
├── hooks
│   ├── use-mobile.tsx
│   └── use-toast.ts
├── lib
│   ├── auth-client.ts
│   ├── auth.ts
│   ├── context
│   │   ├── auth-provider.tsx
│   │   └── websocket-provider.tsx
│   ├── dummy-data.ts
│   ├── prisma.ts
│   └── utils.ts
├── next.config.ts
├── package.json
├── pnpm-lock.yaml
├── postcss.config.mjs
├── prisma
│   └── schema.prisma
├── public
│   ├── file.svg
│   ├── globe.svg
│   ├── llmproviders
│   │   ├── anthropic.svg
│   │   ├── aws.svg
│   │   ├── cohere.svg
│   │   ├── deepseek.svg
│   │   ├── google.svg
│   │   ├── groq.svg
│   │   ├── meta.svg
│   │   ├── mistral.svg
│   │   ├── openai.svg
│   │   └── perplexity.svg
│   ├── next.svg
│   ├── vercel.svg
│   └── window.svg
├── routing.ts
├── tailwind.config.ts
├── tsconfig.json
└── types
    ├── auth.ts
    ├── chat.ts
    ├── types.d.ts
    └── websocket.ts

Project Summary

  • app: Primary app components and features
  • app/api: API routes and authentication
  • app/conversation: Conversation management and display
  • app/settings: Application settings and configurations
  • backend: Backend server with Prisma ORM and routes
  • backend/src/db: Database handling with Prisma and TypeScript
  • components: Reusable UI components library
  • hooks: React hooks for managing application state

Stack

Setting Up

Insert your environment variables.

Run Locally

  1. Clone relaiy repository:
git clone https://github.com/lryanle/relaiy  
  1. Install the dependencies with one of the package managers listed below:
pnpm install  
bun install  
npm install  
yarn install  
  1. Start the development mode:
pnpm dev  
bun dev  
npm run dev  
yarn dev  

About

Relaiy (reel—ayy) is a SaaS platform that streamlines conversational agents. Each agent generates & parses a context tree for each user response, and displays live updates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages