Skip to content

Commit 51ccba6

Browse files
committed
prompt
1 parent 45e4fb5 commit 51ccba6

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

src/geometor/arcprize/solvers/prompt.txt src/geometor/arcprize/solvers/prompt.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
the following are python modules from geometor.arcprize.solvers
2+
3+
the code runs test sessions on the Gemini API and logs the results to the sphinx
4+
website
5+
6+
7+
18

29
./gemini_solver.py
3-
```python
10+
```
411
"""Dialogue-Based ARC Puzzle Solver
512
613
Implements a structured workflow for solving ARC puzzles through conversation
@@ -680,7 +687,7 @@ class FunctionExecutionError(Exception):
680687

681688

682689
./gemini_logger.py
683-
```python
690+
```
684691
from datetime import datetime
685692
from pathlib import Path
686693
import json
@@ -1140,7 +1147,7 @@ class Logger:
11401147

11411148

11421149
./gemini_client.py
1143-
```python
1150+
```
11441151
"""Google Gemini Model Interface for ARC Challenge
11451152
11461153
Provides a streamlined interface to Google's Gemini model, configured specifically
@@ -1228,13 +1235,6 @@ class GeminiClient:
12281235
```
12291236

12301237

1231-
the following are python modules
1232-
1233-
we want to begin a step by step refactoring to improve the logging / reporting
1234-
1235-
we especially need to roll up results at the index levels
1236-
1237-
New Instructions to Append:
12381238

12391239
# Refactoring and Logging/Reporting Guidelines
12401240

src/geometor/arcprize/solvers/prompt.sh

+9-7
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22

33
function add_file() {
44
printf "\n%s\n" "$1"
5-
printf "\`\`\`%s\n" "$2"
5+
printf "\`\`\`\n"
66
cat "$1"
77
printf "\`\`\`\n\n"
88
}
99

1010
function main() {
11-
add_file ./gemini_solver.py python
12-
add_file ./gemini_logger.py python
13-
add_file ./gemini_client.py python
11+
cat ./prompt_intro.md
1412
echo
15-
cat prompt_instruction.md
13+
add_file ./gemini_solver.py
14+
add_file ./gemini_logger.py
15+
add_file ./gemini_client.py
16+
echo
17+
cat ./prompt_instruction.md
1618
}
1719

18-
main > prompt.txt
19-
cat prompt.txt | xclip -selection clipboard
20+
main > prompt.md
21+
cat prompt.md | xclip -selection clipboard

src/geometor/arcprize/solvers/prompt_instruction.md

-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
the following are python modules
2-
3-
we want to begin a step by step refactoring to improve the logging / reporting
4-
5-
we especially need to roll up results at the index levels
6-
7-
New Instructions to Append:
81

92
# Refactoring and Logging/Reporting Guidelines
103

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
the following are python modules from geometor.arcprize.solvers
2+
3+
the code runs test sessions on the Gemini API and logs the results to the sphinx
4+
website
5+
6+

0 commit comments

Comments
 (0)