feat: investigate auto adding format schemas to the context

Aperta
#1,523 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
ai

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
1.8k
Fork
161
Merge medio
4g 3h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di generative-computing/mellea

Tutte le issue di generative-computing/mellea

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.