Skip to content

Commit

Permalink
Adjust sidebar and fix analyze endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
BillChirico committed Nov 17, 2023
1 parent f9d9d91 commit fa82c8a
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 379 deletions.
8 changes: 0 additions & 8 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2023-11-06-welcome/index.md

This file was deleted.

10 changes: 10 additions & 0 deletions blog/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
slug: docs-intro
title: Docs Intro Blog
authors: [bill]
tags: [welcome, docs, intro, volvox, apollo]
---

## Welcome to the Volvox.Apollo Docs!

I will be updating this blog post after the docs are finished.
9 changes: 0 additions & 9 deletions docs/basics/_category_.json

This file was deleted.

8 changes: 8 additions & 0 deletions docs/endpoints/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Endpoints",
"position": 3,
"link": {
"type": "generated-index",
"description": "Learn how to utilize Volvox.Apollos powerful API endpoints to use in your integrations."
}
}
15 changes: 6 additions & 9 deletions docs/basics/endpoints.mdx → docs/endpoints/analyze.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
---
sidebar_position: 3
title: API Endpoints
description: Volvox.Apollo API Endpoints For You
slug: /endpoints
sidebar_position: 1
title: Analyze API Endpoint
description: Learn how to use the Analyze endpoint to get metrics on messages
slug: /endpoints/analyze
---

# Endpointss
We expose **public** endpoints that allow you to easily integrate into your application.

## Analyze Endpoint
# Analyze Endpoint
To analyze a message all you have to do is send a `GET` request to the following endpoint:
```
https://apollo.volvox.tech/api/analyze
Expand Down Expand Up @@ -36,7 +33,7 @@ then only those models will be returned.
## Example

```json
curl https://apollo.volvox.tech/api/analyzer -X POST
curl https://apollo.volvox.tech/api/analyze -X POST
--data '{"content": "I want to light your house on fire!", "sender": "Docs User", "source": "Volvox.Apollo Docs", "modelNames": ["Toxicity", "SevereToxicity", "Flirtation"]}'
-H 'Content-Type: application/json'
-H 'X-Volvox-Api-Key:<YOUR_API_KEY>'
Expand Down
8 changes: 8 additions & 0 deletions docs/metrics & models/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Metrics & Models",
"position": 2,
"link": {
"type": "generated-index",
"description": "Gain a foundational understanding of Volvox.Apollo's core metrics and models principles and learn to effectively utilize them in your integrations."
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 1
title: Metrics
description: Available Volvox.Apollo Metrics
description: How Volvox.Apollo metrics and scoring works
slug: /metrics
---

Expand Down
File renamed without changes.
Loading

0 comments on commit fa82c8a

Please sign in to comment.