Skip to content

i-am-alice/custom-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alice app custom back-end

The following project is a starter template that you can use with heyalice.app and its "Custom Apps" feature; when connected, the Alice app becomes a UI for your own back-end, which you can fully customize to your needs.

Features

  • Chat Response API with Chat Completion conversion for Alice app
  • Image support via OpenAI
  • Web search integration
  • Stream and non-stream response options

Setup

  1. Clone the repository
  2. Copy .env.example to .env and add your OpenAI API key; if you want to secure the connection, put a random string in API_KEY
  3. Install dependencies:
    bun install
    
  4. Start the development server:
    bun run dev
    

Connect to the Alice app

  1. In the Alice app go to the Settings -> Apps
  2. Add new connection
  3. Set server URL to localhost:3000 (or whenever this app will be available)
  4. Add model from OpenAI
  5. Open new chat and switch to this model using list in the left bottom corner
  6. Customize this back-end however you want. Just make sure that responses will match OpenAI Chat completion format.

License

MIT

About

Custom App template for heyalice.app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published