microsoft / microsoft/semantic-kernel-java
Java: When calling getContent or getItems, get null if the other property was set.
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 276
- フォーク
- 56
- 平均マージ
- 17時間 45分
- マージ済み PR(30日)
- 4
説明
In Java, when creating a ChatMessageContent, you can either set the content or items of the object. If you then retrieve either, the system isn't able to smartly pull from the right source.
For example, if I set content to "hello world" and I call getItems(), I should receive an array of KernelContent with a single TextContent inside of it. The reverse should also be true.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Java ChatMessageContent クラスを見つけ、getContent() と getItems()、および content と items の格納方法を調べてください。issue に記載されている 2 つのアクセス順序を再現し、それぞれの変換方向のカバレッジを追加してください。content を設定すると getItems() が 1 つの TextContent を公開し、items を設定すると getContent() が対応するコンテンツを返す状態になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100