You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
full_prompt=f"""Search term: {search_term}\nCurrent topics: {', '.join(topics)}\n\n{prompt}\n\You only return a list of the k topics. K can be any number."""
50
-
# print(full_prompt)
50
+
full_prompt=f"""Search term: {search_term}
51
+
Current topics: {', '.join(topics)}
52
+
53
+
{prompt}
54
+
55
+
IMPORTANT FORMATTING RULES:
56
+
1. Do NOT use any markdown formatting (no asterisks, no bullet points, no bold/italic)
57
+
2. Do NOT use numbers or bullet points
58
+
3. Each suggestion must be on a new line
59
+
4. Each line must be in the format: "topic: explanation"
60
+
5. Keep explanations to one sentence
61
+
6. Do not add any extra text or formatting
62
+
63
+
Example format:
64
+
visual-programming-language: A programming language that uses visual elements instead of text
65
+
flow-based-programming: A programming paradigm where programs are built by connecting nodes
raiseHTTPException(status_code=500, detail="Gemini client not initialized")
72
119
73
-
full_prompt=f"""Search term: {search_term}\nCurrent topics: {', '.join(topics)}\n\n{prompt}\n\n You only return a list of the k topics. K can be any number. No other text."""
120
+
full_prompt=f"""Search term: {search_term}
121
+
Current topics: {', '.join(topics)}
122
+
123
+
{prompt}
124
+
125
+
IMPORTANT FORMATTING RULES:
126
+
1. Do NOT use any markdown formatting (no asterisks, no bullet points, no bold/italic)
127
+
2. Do NOT use numbers or bullet points
128
+
3. Each suggestion must be on a new line
129
+
4. Each line must be in the format: "topic: explanation"
130
+
5. Keep explanations to one sentence
131
+
6. Do not add any extra text or formatting
132
+
133
+
Example format:
134
+
visual-programming-language: A programming language that uses visual elements instead of text
135
+
flow-based-programming: A programming paradigm where programs are built by connecting nodes
0 commit comments