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

fix: Minor updates on the docs #56

Merged
merged 5 commits into from
Oct 27, 2023
Merged

Conversation

noble-varghese
Copy link
Contributor

Fixing some nit-pick changes on the docs.

@noble-varghese noble-varghese self-assigned this Oct 27, 2023
@noble-varghese noble-varghese added the documentation Improvements or additions to documentation label Oct 27, 2023
@noble-varghese noble-varghese marked this pull request as ready for review October 27, 2023 11:51
README.md Outdated
@@ -173,17 +173,21 @@ print(response.choices[0].message)
| Force Cache Refresh | `cache_force_refresh` | `True`, `False` (Boolean) | ❔ Optional |
| Cache Age | `cache_age` | `integer` (in seconds) | ❔ Optional |
| Trace ID | `trace_id` | `string` | ❔ Optional |
| Retries | `retry` | `integer` [0,5] | ❔ Optional |
| Retries | `retry` | `json object` - See details below | ❔ Optional |
Copy link
Collaborator

@vrushankportkey vrushankportkey Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll help if we can add a JSON example here directly. Let's not worry about the table structure as it's more important I think to have these details in a single place

So, the text here can say:

{dict} with two required keys: "attempts" which expects integers in [0,5] and "on_status_codes" which expects array of status codes like [429,502]

Example: { "attempts": 5, "on_status_codes":[429,500] }

README.md Outdated
| Metadata | `metadata` | `json object` [More info](https://docs.portkey.ai/key-features/custom-metadata) | ❔ Optional |

**Retries Details:**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this

Copy link
Collaborator

@vrushankportkey vrushankportkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left comments

@noble-varghese noble-varghese merged commit 8451f33 into main Oct 27, 2023
5 checks passed
@noble-varghese noble-varghese deleted the noble-varghese/docs-update branch October 27, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants