TODO collections

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Non viene identificato alcun file, test o punto di ingresso; l’issue combina molte idee indipendenti relative a prompting, RAG, evals, guardrails, produzione e flussi di lavoro dei dati. Inizia esaminando la struttura del repository e separando un obiettivo concreto da questa raccolta. Il lavoro sarà considerato completato quando ci sarà un’issue circoscritta con un punto di ingresso specifico, criteri di accettazione e test o passaggi di valutazione.

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

Descrizione

  • 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

Lingua principale
Python
Stelle
51
Fork
27
Merge medio
11h 59m
PR unite (30g)
33

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

Tutte le issue di The-OpenROAD-Project/ORAssistant

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.