Spaces:
Sleeping
Sleeping
Create prompt.txt
Browse files- prompt.txt +18 -0
prompt.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
we need to add langchain control to HF AI agent code provided below.
|
2 |
+
State should have location_provided boolean and location_cautions str
|
3 |
+
|
4 |
+
To the existing workflow we need to add next steps:
|
5 |
+
identify if location is provided in request,
|
6 |
+
and if so, set location_provided true, identify if location is not on Earth,
|
7 |
+
and if so,
|
8 |
+
update location_cautions with "Salute you explorer!" + explain why moon indices don't work outside of Earth, and suggest principles analogous indices could be developed on other planets.
|
9 |
+
final_answer = location_cautions
|
10 |
+
otherwise, check if location is not fertile for planting outdoor
|
11 |
+
and if so, update location_cautions so user should provide required conditions for the plant (e.g. indoor).
|
12 |
+
|
13 |
+
otherwise, proceed with request
|
14 |
+
check if request about planting or pruning?
|
15 |
+
and if so,
|
16 |
+
Otherwise,
|
17 |
+
1.
|
18 |
+
1.3. Pruning
|