Skip to content

Commit

Permalink
Merge pull request #22 from predictionguard/fix-examples-top-k
Browse files Browse the repository at this point in the history
fix examples top k
  • Loading branch information
jmansdorfer authored Jun 28, 2024
2 parents 034a99e + e43ce67 commit 45abbc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fern/docs/pages/quick_start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ curl -i -X POST https://api.predictionguard.com/chat/completions \
"max_tokens": 1000,
"temperature": 1.1,
"top_p": 0.1,
"top_k": 50.0,
"top_k": 50,
"output": {
"factuality": true,
"toxicity": true
Expand Down
4 changes: 2 additions & 2 deletions fern/docs/pages/reference/chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ your application.
"max_tokens": 1000,
"temperature": 1.1,
"top_p": 0.1,
"top_k": 50.0,
"top_k": 50,
"output": {
"factuality": false,
"toxicity": true
Expand Down Expand Up @@ -300,4 +300,4 @@ The output will look something like this.

This approach presents a straightforward way for readers to choose and apply the
code example that best suits their needs for generating text completions using
either Python, Go, Rust, JS, or cURL.
either Python, Go, Rust, JS, or cURL.
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ on your preference or requirements, select the appropriate method for your appli
"max_tokens": 1000,
"temperature": 1.1,
"top_p": 0.1,
"top_k": 50.0,
"top_k": 50
}'
```
</CodeBlock>
Expand Down

0 comments on commit 45abbc9

Please sign in to comment.