feat: investigate auto adding format schemas to the context

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
ai

調査の方向性

Start by tracing how structured decoding schemas enter messages and how messages are serialized, especially where prefill-cache history is maintained. Check which providers add schemas already and validate whether including schemas improves results. Done means there is an enable/disable option or easy helper, no duplicate schemas, and correct message history for the prefill cache.

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

説明

area/context enhancement p2

When building programs that utilize Mellea, I've noticed that I get much better results when I add the schema directly to the message when using structured decoding.

We should:

  • validate that this is true
  • add the functionality to enable / disable auto-adding schemas to messages (or provide easy to use helper functions)
  • ensure we don't double add; some providers may already be doing this
  • ensure that doing this doesn't mess up our prefill cache; it will be difficult to add this after message serialization since then the actually context object won't have the correct history
主要言語
Python
スター
1.8k
フォーク
161
平均マージ
4日 3時間
マージ済み PR(30日)
45

環境構築

はじめの一歩

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

generative-computing/mellea のほかの issue

generative-computing/mellea の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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