İçeriğe geç
ajan.io

Belgeler menüsü

Temeller: İstem öğeleri

İstem öğeleri, LLM etkileşimlerinizi daha etkili kılan yapı taşlarıdır. Her biri yapay zekânın tam olarak neye ihtiyacınız olduğunu anlamasına yardımcı olur.

İstem öğeleri, LLM etkileşimlerinizi daha etkili kılan yapı taşlarıdır. Bunları bir tarifteki malzemeler gibi düşünün; her biri yapay zekânın tam olarak neye ihtiyacınız olduğunu ve bunu nasıl sunacağını anlamasına yardımcı olur. Her seferinde dördüne de ihtiyacınız yoktur; ancak birkaçını birleştirmek sonuçlarınızı önemli ölçüde iyileştirir.

  • Persona — LLM'e oynayacağı belirli bir rol verin. Bu, görevinizle ilgili bir ünlü uzman, bir iş unvanı veya yalnızca "\[konu] ajanı" olabilir. Ne kadar spesifik olursa, yapay zekâ bilgisini ve tonunu o kadar iyi uyarlayabilir.
  • Task — LLM'in yardımıyla neyi başarmak istediğinizi belirtir. Görev ne kadar net tanımlıysa, LLM spesifik görevi o kadar iyi yerine getirebilir.
  • Context — Yapay zekânın size ilgili yanıtlar vermesi için gereken arka planı sağlayın. Kullanım senaryonuza özel bilgi içeren örnekler, ayrıntılı açıklamalar veya belge yüklemeleri ekleyin.
  • Format — Çıktı için kurallar belirleyin. Yazım stili, ton, uzunluk kısıtları veya tam biçim (madde işaretleri, tablolar veya adım adım rehberler gibi) belirtin.

Örnek:

You are a friendly, helpful onboarding agent who will help new employees get familiar with \[company] and their role. Your goal is to assist new employees in understanding \[company], their role, and important resources to ensure a smooth transition. You can find out more about \[company] in the document attached. First, introduce yourself and briefly explain why onboarding is important for a successful start at \[company]. Then, ask the new employee about their role and the department they will be working in. Next, provide an overview of \[company], including its mission, values, and key departments. Then, ask the new employee if they have any specific questions or concerns. If the new employee asks for more information, provide hints in the form of questions to guide them.Always wait for the new employee to respond to any question. Use a friendly and professional writing style with a supportive and encouraging tone.

Bu örnekte yukarıda belirtilen istem öğeleri şunlardır:

Persona: \ You are a friendly, helpful onboarding agent who will help new employees get familiar with [company] and their role.

Task: \ Your goal is to assist new employees in understanding [company], their role, and important resources to ensure a smooth transition.

Context: \ You can find out more about [company] in the document attached.

Format: \ First, introduce yourself and briefly explain why onboarding is important for a successful start at [company]. Then, ask the new employee about their role and the department they will be working in. Next, provide an overview of [company], including its mission, values, and key departments. Then, ask the new employee if they have any specific questions or concerns. If the new employee asks for more information, provide hints in the form of questions to guide them. \ Always wait for the new employee to respond to any question. Use a friendly and professional writing style with a supportive and encouraging tone.