Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,6 +63,7 @@ containing atleast 10 columns along with their descriptions.''')
|
|
| 63 |
- After defining the terms, identify the relationships between the business terms identified previously.
|
| 64 |
|
| 65 |
## Output format
|
|
|
|
| 66 |
- Output each business glossary term definition in a newline in the folowing format:
|
| 67 |
term: definition
|
| 68 |
- For the business terms which are the key metrics in the business domain, mark such terms by adding "[METRIC]" in the beginning of the line, in the following format:
|
|
@@ -71,7 +72,6 @@ containing atleast 10 columns along with their descriptions.''')
|
|
| 71 |
- Then output the relationships between the business terms as follows:
|
| 72 |
term -> [related_term1, related_term2]
|
| 73 |
Show the relationship between the glossary term and the column broken down by each table.
|
| 74 |
-
Ensure that the output is in markdown format
|
| 75 |
''')
|
| 76 |
yield dataset_description, py, schema_relations, generated_glossary, None, None, None
|
| 77 |
queries = generate_dataset_queries(dataset, generated_glossary, schema_relations)
|
|
|
|
| 63 |
- After defining the terms, identify the relationships between the business terms identified previously.
|
| 64 |
|
| 65 |
## Output format
|
| 66 |
+
Ensure that the output is in markdown format with proper indentation
|
| 67 |
- Output each business glossary term definition in a newline in the folowing format:
|
| 68 |
term: definition
|
| 69 |
- For the business terms which are the key metrics in the business domain, mark such terms by adding "[METRIC]" in the beginning of the line, in the following format:
|
|
|
|
| 72 |
- Then output the relationships between the business terms as follows:
|
| 73 |
term -> [related_term1, related_term2]
|
| 74 |
Show the relationship between the glossary term and the column broken down by each table.
|
|
|
|
| 75 |
''')
|
| 76 |
yield dataset_description, py, schema_relations, generated_glossary, None, None, None
|
| 77 |
queries = generate_dataset_queries(dataset, generated_glossary, schema_relations)
|