feat: investigate auto adding format schemas to the context

Abierto
#1,523 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
ai

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
1.8k
Forks
161
Merge medio
4 d 3 h
PR fusionados (30 d)
45

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de generative-computing/mellea

Todos los issues de generative-computing/mellea

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.