Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPRIORITISED] update docs to add link to redoc #334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To get answers from your database of contents, you can use the `/search` endpoin
- Search results: Finds the most similar content in the database using cosine distance between embeddings.
- (Optionally) LLM generated response: Crafts a custom response using LLM chat using the most similar content.

See [docs](https://docs.ask-a-question.com/) or [API docs](https://app.ask-a-question.com/api/docs) for more details and other API endpoints.
See [docs](https://docs.ask-a-question.com/) or [API docs](https://app.ask-a-question.com/api/redoc) for more details and other API endpoints.

### :question: Simple content search

Expand Down
2 changes: 2 additions & 0 deletions core_backend/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
🔑 <a href="https://app.ask-a-question.com/integrations" target="_blank">Get your API
key</a> |
📖 <a href="https://docs.ask-a-question.com" target="_blank">Docs</a> |
☁️ <a href="https://app.ask-a-question.com/api/redoc" target="_blank">APIs</a> |
🧪 <a href="https://app.ask-a-question.com/api/docs" target="_blank">Test APIs</a> |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="1em"
style="vertical-align: bottom;"><path d="m0 0h24v24h-24z" fill="#fff" opacity="0"
transform="matrix(-1 0 0 -1 24 24)"/><path d="m12 1a10.89 10.89 0 0 0 -11 10.77 10.79
Expand Down
9 changes: 3 additions & 6 deletions docs/components/qa-service/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,10 @@ as text, or as both.
<img src="./swagger-ui-screenshot.png" alt="Screenshot of Swagger UI" style="border: 1px solid lightgray;">

If you have the [application running](../../deployment/quick-setup.md), you can access
the SwaggerUI at
the SwaggerUI at `https://[DOMAIN]/api/docs` and Redoc at `https://[DOMAIN]/api/redoc`

https://[DOMAIN]/api/docs

or if you are using the [dev](../../develop/setup.md) setup:

http://localhost:8000/docs
or if you are using the [dev](../../develop/setup.md) setup,
`http://localhost:8000/docs` and `http://localhost:8000/redoc`.

## Upcoming

Expand Down
14 changes: 7 additions & 7 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To get answers from your database of contents, you can use the `/search` endpoin
- Search results: Finds the most similar content in the database using cosine distance between embeddings.
- (Optionally) LLM generated response: Crafts a custom response using LLM chat using the most similar content.

You can also add your contents programatically using API endpoints. See [docs](https://docs.ask-a-question.com/) or SwaggerUI at `https://<DOMAIN>/api/docs` or `https://<DOMAIN>/docs` for more details and other API endpoints.
You can also add your contents programatically using API endpoints. See our [API docs](https://app.ask-a-question.com/api/redoc) for more details and other API endpoints.

### :question: Embeddings search

Expand Down Expand Up @@ -44,14 +44,14 @@ curl -X 'POST' \

## Admin app

You can access the admin console at
You can access the admin app of AAQ's cloud version [here](https://app.ask-a-question.com). You can
also [self-host your own AAQ admin app](http://localhost:8080/deployment/quick-setup/).

```
https://[DOMAIN]/
```

On the [Admin app]("./content/admin-app.md"), you can:
On the admin app, you can:

- :books: Manage content for more details
- :test_tube: Use the playground to test the Question-Answering service
- :bar_chart: View dashboards

See more detailed documentation of the admin app
[here](http://localhost:8080/components/admin-app/).
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ nav:
- Contact us:
- Team: contact_us.md

- API docs ↗︎: https://app.ask-a-question.com/api/docs
- API docs ↗︎: https://app.ask-a-question.com/api/redoc

# Themes and extensions
theme:
Expand Down