This is the server side code of the remote AI Playground platform integration for Texts.
Built with https://github.com/batuhan/texts-platform-remote-server-boilerplate
Client side code at https://github.com/batuhan/texts-platform-ai-playground-remote
Before you begin. ensure you have the following installed.
- Clone this repository and navigate into the project directory:
git clone https://github.com/batuhan/texts-platform-remote-ai-server.git && cd texts-platform-remote-ai-server
- Create an .env file with the following for a postgres db
DATABASE_URL=
PORT=
- Install dependencies and build the project:
npm install
npm build
- Start the server
npm start
This is a remote experimental implementation of the already existing AI Playground integration.
Made with Vercel AI SDK.
Supports the following models:
- OpenAI: GPT 3.5 Turbo, GPT 3.5 Turbo 16K, GPT 4.0, and GPT 3.5 Turbo Instruct
- Fireworks.ai: Llama v2 7B Chat, Llama v2 13B, Llama v2 70B Chat, Llama v2 13B Code Instruct, and Llama v2 34B Code Instruct
- Hugging Face: OpenAssistant Pythia 12B, Star Coder, and Mistral 7B
This integration was built at Pickled Works by @alperdegre and it isn't an official integration by Texts.