| export const EXAMPLE_TEXTS = { |
| translate: |
| 'Machine learning has revolutionized natural language processing, enabling computers to understand and generate human language with unprecedented accuracy.', |
| extract: |
| 'In the field of artificial intelligence, deep learning models such as transformers and large language models have achieved remarkable success across various natural language processing tasks including machine translation, sentiment analysis, and question answering.', |
| pipeline: |
| 'The rapid advancement of artificial intelligence is reshaping industries worldwide. From autonomous vehicles to medical diagnosis, AI systems are augmenting human capabilities. However, ethical considerations regarding data privacy, algorithmic bias, and job displacement remain critical challenges that society must address.', |
| search: 'machine learning', |
| } |
|
|
| export function fillExample(type: keyof typeof EXAMPLE_TEXTS): string { |
| return EXAMPLE_TEXTS[type] |
| } |
|
|