Java: When calling getContent or getItems, get null if the other property was set.

オープン
#142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
api

調査の方向性

Java ChatMessageContent クラスを見つけ、getContent() と getItems()、および content と items の格納方法を調べてください。issue に記載されている 2 つのアクセス順序を再現し、それぞれの変換方向のカバレッジを追加してください。content を設定すると getItems() が 1 つの TextContent を公開し、items を設定すると getContent() が対応するコンテンツを返す状態になれば完了です。

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

説明

java

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.

主要言語
Java
スター
276
フォーク
56
平均マージ
17時間 45分
マージ済み PR(30日)
4

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/semantic-kernel-java のほかの issue

microsoft/semantic-kernel-java の issue をすべて見る

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

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