Get started with Glide Gateway in under a few minutes with docker-compose.
git clone https://github.com/EinStack/glide-demo.git
The demo repository comes with a basic config. Additionally, you need to init your secrets by running:
make init # from the demo root
This will create the secrets
directory with one .OPENAI_API_KEY
file that you need to put your key to.
After that, just use docker compose via this command to start your demo environment:
make up
git clone https://github.com/EinStack/glide-demo.git
- create a dir called
secrets
in the demo project root - inside of the dir create a new file called
.OPENAI_API_KEY
with your OpenAI access token
After that, just use docker compose via this command to start your demo environment:
docker-compose up -d
See API Reference for more details.
{
"message":
{
"role": "user",
"content": "Where was it played?"
},
"messageHistory": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Who won the world series in 2020?"},
{"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."}
]
}
Finally, Glide comes with OpenAPI documentation that is accessible via http://127.0.0.1:9099/v1/swagger/index.html
That's it 🙌
Use our documentation to further learn about Glide capabilities and configs.
Other ways to install Glide are available in the Glide repo.