[REST API] Incorporate changes related to REST API docs (#900)
This commit is contained in:
@@ -7,10 +7,10 @@ title: "🌍 Getting Started"
|
||||
To run Embedchain as a REST API server use,
|
||||
|
||||
```bash
|
||||
docker run -d --name embedchain -p 8000:8000 embedchain/app:rest-api-latest
|
||||
docker run -d --name embedchain -p 8080:8080 embedchain/app:rest-api-latest
|
||||
```
|
||||
|
||||
Open up your browser and navigate to http://0.0.0.0:8000/docs to interact with the API. There is a full-fledged Swagger docs playground with all the information
|
||||
Open up your browser and navigate to http://0.0.0.0:8080/docs to interact with the API. There is a full-fledged Swagger docs playground with all the information
|
||||
about the API endpoints.
|
||||
|
||||

|
||||
@@ -83,7 +83,7 @@ To provide them, you can simply run the docker command with the `-e` flag.
|
||||
For example,
|
||||
|
||||
```bash
|
||||
docker run -d --name embedchain -p 8000:8000 -e OPENAI_API_KEY=YOUR_API_KEY embedchain/app:rest-api-latest
|
||||
docker run -d --name embedchain -p 8080:8080 -e OPENAI_API_KEY=YOUR_API_KEY embedchain/app:rest-api-latest
|
||||
```
|
||||
|
||||
Cool! This will create a new Embedchain App with the given `app_id`.
|
||||
|
||||
Reference in New Issue
Block a user