Class: AIPrompt¶
Prompt configuration for AI interaction
URI: revaise:AIPrompt
```mermaid classDiagram class AIPrompt click AIPrompt href "../AIPrompt/" AIPrompt : prompt_examples
AIPrompt : prompt_id
AIPrompt : prompt_text
AIPrompt : prompt_type
AIPrompt --> "0..1" PromptType : prompt_type
click PromptType href "../PromptType/"
AIPrompt : prompt_version
AIPrompt : target_field
```
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| prompt_id | 1 String |
Unique identifier for this prompt | direct |
| prompt_text | 1 String |
The actual prompt text | direct |
| prompt_type | 0..1 PromptType |
Type of prompting strategy | direct |
| prompt_version | 0..1 String |
Version of this prompt | direct |
| prompt_examples | * String |
Few-shot examples included in the prompt | direct |
| target_field | 0..1 String |
Field or task this prompt targets | direct |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| AIAssistance | ai_prompts | range | AIPrompt |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | revaise:AIPrompt |
| native | revaise:AIPrompt |
LinkML Source¶
Direct¶
name: AIPrompt
description: Prompt configuration for AI interaction
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
slots:
- prompt_id
- prompt_text
- prompt_type
- prompt_version
- prompt_examples
- target_field
slot_usage:
prompt_id:
name: prompt_id
description: Unique identifier for this prompt
identifier: true
range: string
prompt_text:
name: prompt_text
description: The actual prompt text
range: string
required: true
prompt_type:
name: prompt_type
description: Type of prompting strategy
range: PromptType
prompt_version:
name: prompt_version
description: Version of this prompt
range: string
prompt_examples:
name: prompt_examples
description: Few-shot examples included in the prompt
range: string
multivalued: true
target_field:
name: target_field
description: Field or task this prompt targets
range: string
Induced¶
name: AIPrompt
description: Prompt configuration for AI interaction
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
slot_usage:
prompt_id:
name: prompt_id
description: Unique identifier for this prompt
identifier: true
range: string
prompt_text:
name: prompt_text
description: The actual prompt text
range: string
required: true
prompt_type:
name: prompt_type
description: Type of prompting strategy
range: PromptType
prompt_version:
name: prompt_version
description: Version of this prompt
range: string
prompt_examples:
name: prompt_examples
description: Few-shot examples included in the prompt
range: string
multivalued: true
target_field:
name: target_field
description: Field or task this prompt targets
range: string
attributes:
prompt_id:
name: prompt_id
description: Unique identifier for this prompt
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
identifier: true
owner: AIPrompt
domain_of:
- AIPrompt
range: string
required: true
prompt_text:
name: prompt_text
description: The actual prompt text
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
owner: AIPrompt
domain_of:
- AIPrompt
range: string
required: true
prompt_type:
name: prompt_type
description: Type of prompting strategy
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
owner: AIPrompt
domain_of:
- AIPrompt
range: PromptType
prompt_version:
name: prompt_version
description: Version of this prompt
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
owner: AIPrompt
domain_of:
- AIPrompt
range: string
prompt_examples:
name: prompt_examples
description: Few-shot examples included in the prompt
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
owner: AIPrompt
domain_of:
- AIPrompt
range: string
multivalued: true
target_field:
name: target_field
description: Field or task this prompt targets
from_schema: https://open-and-sustainable.github.io/revaise-model/schema/stages/screening
rank: 1000
owner: AIPrompt
domain_of:
- AIPrompt
range: string