16 lines
424 B
Bash
Executable File
16 lines
424 B
Bash
Executable File
#!/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
|