chunk_enrichment.yaml 1.1 KB

123456789101112131415161718192021222324252627
  1. chunk_enrichment:
  2. template: >
  3. ## Task:
  4. Enrich and refine the given chunk of text using information from the provided context chunks. The goal is to make the chunk more precise and self-contained.
  5. ## Context Chunks:
  6. {context_chunks}
  7. ## Chunk to Enrich:
  8. {chunk}
  9. ## Instructions:
  10. 1. Rewrite the chunk in third person.
  11. 2. Replace all common nouns with appropriate proper nouns. Use specific names, titles, or identifiers instead of general terms.
  12. 3. Use information from the context chunks to enhance the clarity and precision of the given chunk.
  13. 4. Ensure the enriched chunk remains independent and self-contained.
  14. 5. Do not incorporate specific information or details from other chunks into this one.
  15. 6. Focus on making the chunk more informative and precise within its own scope.
  16. 7. Maintain the original meaning and intent of the chunk while improving its clarity and usefulness.
  17. 8. Just output the enriched chunk. Do not include any other text.
  18. ## Enriched Chunk:
  19. input_types:
  20. chunk: str
  21. context_chunks: str