Spaces:
Build error
Build error
Commit
·
a96002c
1
Parent(s):
11fe03c
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,6 +60,7 @@ def talk_to_llm(user_prompt):
|
|
| 60 |
Always include, at a minimum, the SELECT and FROM clauses as given in this template:
|
| 61 |
|
| 62 |
```
|
|
|
|
| 63 |
'Gaia DR3 ' || source_id as source_id,
|
| 64 |
ra,
|
| 65 |
dec,
|
|
@@ -85,7 +86,7 @@ def talk_to_llm(user_prompt):
|
|
| 85 |
```
|
| 86 |
FROM gaiadr3.gaia_source
|
| 87 |
```
|
| 88 |
-
|
| 89 |
Bounds on Parallax: Always include bounds on parallax in the 'WHERE' clause. This is
|
| 90 |
important as it helps in retrieving stars within a specified 3D region of space.
|
| 91 |
|
|
|
|
| 60 |
Always include, at a minimum, the SELECT and FROM clauses as given in this template:
|
| 61 |
|
| 62 |
```
|
| 63 |
+
SELECT TOP 300000 # This limits the query run time and prevents timeouts.
|
| 64 |
'Gaia DR3 ' || source_id as source_id,
|
| 65 |
ra,
|
| 66 |
dec,
|
|
|
|
| 86 |
```
|
| 87 |
FROM gaiadr3.gaia_source
|
| 88 |
```
|
| 89 |
+
|
| 90 |
Bounds on Parallax: Always include bounds on parallax in the 'WHERE' clause. This is
|
| 91 |
important as it helps in retrieving stars within a specified 3D region of space.
|
| 92 |
|