File size: 1,568 Bytes
77fafff
 
 
 
 
 
 
 
f968aac
77fafff
 
 
 
 
 
2531f22
77fafff
24cf04b
f968aac
77fafff
 
 
 
 
 
3c17deb
77fafff
 
 
 
 
 
 
 
3c17deb
77fafff
 
 
 
 
 
3c17deb
77fafff
 
 
 
 
 
3c17deb
77fafff
 
 
7c41075
77fafff
 
3c17deb
77fafff
 
 
9a1bdee
77fafff
 
7af4a36
77fafff
 
7af4a36
77fafff
 
7af4a36
77fafff
 
7af4a36
3c17deb
77fafff
 
 
 
 
 
3c17deb
77fafff
 
 
 
 
 
 
3c17deb
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Supported Format Schemas

---

## 1. Repo2Markdown Format
**Detection:** Contains \`## File Structure\` AND \`### File:\`.
**Purpose:** Representing project codebases.
**Layout Example:**
```md
# Project Export
## File Structure
- main.py
- utils.py

### File: main.py
```python
print("Hello World")
\```
```
---

## 2. Standard README Format
**Detection:** Starts with \`#\` and contains at least one \`##\`.
**Purpose:** Parsing typical project documentation.
**Layout Example:**
```md
# Project Title
Intro text here.

## Installation
Step 1...

## Usage
Run the app...
```
---

## 3. Changelog Format
**Detection:** Version headings like \`## [1.0.0]\`.
**Purpose:** Version tracking and release notes.
**Layout Example:**
```md
# Changelog
## [1.1.0] - 2023-10-01
- Added feature X.

## [1.0.0] - 2023-09-01
- Initial release.
```
---

## 4. Agent Action Format
**Detection:** Contains \`### HF\_ACTION:\` or "File and Code Formatting:".
**Purpose:** Automating Hugging Face Space setup.
**Layout Example:**
```md
**File and Code Formatting:**
General instructions for the agent go here.

### HF_ACTION: INSTALL requirements.txt

### File: app.py
```python
import flask
# code here
\```

## File Structure
\```
.
└── app.py
\```
```
---

## 5. Recipe/Guide Format (Logical Addition)
**Detection:** Contains \`## Ingredients\` and \`## Instructions\`.
**Purpose:** Parsing structured "How-To" guides.
**Layout Example:**
```md
# Chocolate Cake
## Ingredients
- 2 cups Flour
- 1 cup Cocoa

## Instructions
1. Mix dry ingredients...
2. Bake at 180°C...
```