Skip to content
forked from geosem42/SwiftAI

Swift AI is a web application built using Laravel, Inertia.js, and Vue.js. It serves as a centralized hub that seamlessly integrates various AI tools and services from companies such as OpenAI, Microsoft, and Stability AI. The platform aims to streamline the usage of diverse AI solutions, providing users with a cohesive experience.

License

Notifications You must be signed in to change notification settings

iammikek/SwiftAI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift AI

Swift AI is a web application built using Laravel, Inertia.js, and Vue.js. It serves as a centralized hub that seamlessly integrates various AI tools and services from companies like OpenAI, Microsoft, and Stability AI. The platform aims to streamline the usage of diverse AI solutions, providing users with a cohesive experience.

Features

  1. AI Chat (OpenAI)
  2. AI Image Generation (Stability AI)
  3. AI Documents (OpenAI)
  4. Text To Speech (Microsoft Azure)
  5. Speech To Text (OpenAI)

Installation

Application Set up

Run the following commands:

  • Grab a fresh .env file from Laravel and save the following:
APP_NAME=SwiftAI Example
APP_ENV=local
APP_KEY=
  • Generate a new App Key
php artisan key:generate 
  • Link the image directory
php artisan storage:link

Install Dependencies

  • Install PHP dependencies
composer install
  • Install node packages
npm install
  • Migrate the database
php artisan migrate
  • Seed the personalities table
php artisan db:seed --class=PersonalitiesTableSeeder
STABILITY_API_KEY=
STABILITY_MODEL=stable-diffusion-xl-beta-v2-2-2
STABILITY_MODEL_UPSCALE=esrgan-v1-x2plus

OPENAI_API_KEY=
OPENAI_MODEL=gpt-3.5-turbo
OPENAI_MODEL_EMBEDDING=text-embedding-ada-002
OPENAI_MODEL_QA=gpt-3.5-turbo-16k

AZURE_RESOURCE_REGION=eastus
AZURE_RESOURCE_KEY=
  • Run the server
php artisan serve
  • Build assets
npm run build

## OR

npm run watch

Screenshots

Create New Conversation in AI Chat AI Chat AI Images AI Documents Q&A in AI Documents Text To Speech Speech To Text

Thanks

About

Swift AI is a web application built using Laravel, Inertia.js, and Vue.js. It serves as a centralized hub that seamlessly integrates various AI tools and services from companies such as OpenAI, Microsoft, and Stability AI. The platform aims to streamline the usage of diverse AI solutions, providing users with a cohesive experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 78.4%
  • Vue 13.7%
  • SCSS 6.9%
  • Other 1.0%