0xPlaygrounds / 0xPlaygrounds/rig-docs

Feedback for “Completion & Generation”

オープン 初心者向け
#90 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
MDX
スター
20
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

Api of completion_model has been changed in the latest version. There is no `model.prompt` now.

https://docs.rig.rs/docs/concepts/completion#basic-completion

## Basic Completion
```
let openai = openai::Client::from_env();
let model = openai.completion_model("gpt-4o");

let response = model
.prompt("Explain quantum computing")
.await?;
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue points to outdated documentation for the completion_model API in the Rig Framework. Look at the linked documentation page (docs/concepts/completion) and find the example code block. Compare with the current Rust API to see the correct method names. Update the example to use the current API, likely replacing .prompt() with the new method. Verify by checking the source code or recent examples in the repository.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
80/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。