TODO collections

Abierto
#50 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

No se identifica ningún archivo, prueba ni punto de entrada; el issue combina muchas ideas independientes relacionadas con prompting, RAG, evals, guardrails, producción y flujos de trabajo de datos. Empieza revisando la estructura del repositorio y separando un objetivo concreto de este conjunto. Se considerará terminado cuando haya un issue acotado con un punto de entrada específico, criterios de aceptación y pruebas o pasos de evaluación.

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

Descripción

  • CI Status badge
  • Use structured output library? e.g. Instructor
  • https://www.anthropic.com/news/contextual-retrieval
  • have small prompts that do one thing, and only one thing well. e.g. instead of having a single catch-all-prompt, try to split it into separate prompts that are simple, focused and easy to understand -> so you can eval each prompt separately.
  • RAG evaluation: MRR NDCG.
  • RAG information density: if two documents are equally relevant, we should prefer one that is more concise and has fewer erroneous details.
  • Multistep workflow: Include reflection/CoT prompting (small tasks)
  • Increase output diversity beyond increasing temperature. E.g. when the user is asking for a solution to XX problem, keep a list of recent responses and tell the LLM, "do not suggest any responses from the following:"
  • Prompt caching: e.g. common functions. Use features like autocomplete/spelling correction/suggested queries to normalize user input and increase the cache hit rate.
  • Simple assertion based unit tests.
  • Intent Classification: https://rasa.com/docs/rasa/next/llms/llm-intent/
- What do each tool abbreviation in OR mean? 
- What are the supported public PDKs?
- What are the supported OSes?
- What are the social media links?

Evals

  • https://docs.confident-ai.com/docs/synthesizer-introduction#save-your-synthetic-dataset
  • pairwise evaluation. How is this different from normal? maybe there are a few responses (using different LLMs) that are rated same score on g-eval. Use pairwise evaluation to force a winner. E.g. prompt
  • Needle-in-a-haystack (NIAH) evals
  • If evals are reference-free, you can use them as a guardrail (not show the output if it is too low scoring). E.g. is summarization evals, where all you need is the input prompt (and no need for a summarisation "reference")

Guardrails

  • Use gemini guardrails to identify harmful/offensive output, PII.
  • factual inconsistency guardrail link

Production

  • Development-prod skew: measure skew between LLM input/output pairs. E.g. length of inputs/outputs, specific formatting requirements. For advanced drift detection consider clustering embeddings to detect semantic drifts (i.e. users are discussing topics not discussed before.)
  • Hold-out datasets for evals -> must be reflective of user-interactions
  • Always log outputs. Store this in a separate DB.

Data flywheel

References

Lenguaje dominante
Python
Estrellas
51
Forks
27
Merge medio
11 h 59 min
PR fusionados (30 d)
33

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 The-OpenROAD-Project/ORAssistant

Todos los issues de The-OpenROAD-Project/ORAssistant

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.