Home

Awesome

<p align="center"> <img src="images/server-header.png" width="600em"> </p> <p align="center"> <a href="https://discord.gg/VYgCh2p3Ww" alt="discord" target="_blank"> <img src="https://img.shields.io/badge/Discord-Community-light?style=flat-square" /> </a> <a href="https://hub.docker.com/r/intellinode/intelliserver" alt="docker image" target="_blank"> <img src="https://img.shields.io/docker/pulls/intellinode/intelliserver?style=flat-square" /> </a> <a href="https://github.com/Hannibal046/Awesome-LLM" target="_blank"> <img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome LLM"> </a> </p>

IntelliServer

AI models as private microservice - ChatGPT, Cohere, Llama, Stability, Hugging inference and more.

Intelliserver is a microservice providing unified access to multiple AI models, allowing you to easily integrate cutting-edge AI into your project.

Run in Postman

Core Services

Installation

Repository Setup

Instructions to run the microservice from GitHub repo:

npm

cd intelliserver
npm install
npm start

docker

# docker run
docker build -t intelliserver:latest .
docker run -p 80:80 intelliserver:latest

# or docker compose run
docker-compose up

Release (Docker Hub)

To pull the release image from docker hub:

docker pull intellinode/intelliserver:latest

Run IntelliServer

# run with custom keys
API_KEY=<YOUR_API_KEY>
ADMIN_KEY=<YOUR_ADMIN_KEY>
docker run -p 80:80 -e API_KEY=$API_KEY -e ADMIN_KEY=$ADMIN_KEY intellinode/intelliserver:latest

# or run with the default key - only for testing
docker run -p 80:80 intellinode/intelliserver:latest

Mac M-series processors

For Mac M-series users, pull the arm64 version:

docker pull intellinode/intelliserver:arm64

Testing

To test Intelliserver, you can find the endpoints collection in the postman repository.

Or access the swagger interactive docs: localhost/api-docs/

To customize the default keys and settings, create a .env file inside intelliserver cloned repo with the following values:

# api keys
API_KEY=<key>
ADMIN_KEY=<key>

# models keys - if not added, the user should send the key in the API call
OPENAI_API_KEY=<key>
AZURE_OPENAI_API_KEY=<key>
COHERE_API_KEY=<key>
GOOGLE_API_KEY=<key>
STABILITY_API_KEY=<key>
HUGGING_API_KEY=<key>
REPLICATE_API_KEY=<key>

Key Benefits

License

Intelliserver is released under the MIT License