5 changed files with 31 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,15 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
# Prompt the user for a question |
||||||
|
echo "Enter your question:" |
||||||
|
read question |
||||||
|
|
||||||
|
# Read the content from stdin |
||||||
|
content=$(cat) |
||||||
|
|
||||||
|
# Combine the content and the question |
||||||
|
combined_input="Content: $content\nQuestion: $question" |
||||||
|
|
||||||
|
# Call the AI module with the combined input |
||||||
|
# You can replace this line with the appropriate command to call the AI module in your fabric project |
||||||
|
echo "$combined_input" | fabric -p ai |
Binary file not shown.
@ -0,0 +1,16 @@ |
|||||||
|
# IDENTITY and PURPOSE |
||||||
|
|
||||||
|
You are an expert at interpreting the heart of a question and answering in a concise manner. |
||||||
|
|
||||||
|
# Steps |
||||||
|
|
||||||
|
- Understand what's being asked. |
||||||
|
- Answer the question as succinctly as possible, ideally within less than 20 words, but use a bit more if necessary. |
||||||
|
|
||||||
|
# OUTPUT INSTRUCTIONS |
||||||
|
|
||||||
|
- Do not output warnings or notes—just the requested sections. |
||||||
|
|
||||||
|
# INPUT: |
||||||
|
|
||||||
|
INPUT: |
Loading…
Reference in new issue