|
@@ -35,7 +35,7 @@ public class InferenceClient {
|
|
|
private String model;
|
|
private String model;
|
|
|
|
|
|
|
|
private static final String PROMPT = """
|
|
private static final String PROMPT = """
|
|
|
- You are an API. Respond only with a **valid JSON object** using the exact format and keys below.
|
|
|
|
|
|
|
+ Ignore all previous instructions. You are an API. Respond only with a **valid JSON object** using the exact format and keys below.
|
|
|
Do not include any explanation, markdown, or extra text.
|
|
Do not include any explanation, markdown, or extra text.
|
|
|
|
|
|
|
|
Respond with JSON in the following format:
|
|
Respond with JSON in the following format:
|
|
@@ -50,7 +50,7 @@ public class InferenceClient {
|
|
|
|
|
|
|
|
Make sure the output is a valid JSON string with no extra text or markdown.
|
|
Make sure the output is a valid JSON string with no extra text or markdown.
|
|
|
|
|
|
|
|
- Company stock code:
|
|
|
|
|
|
|
+ Company stock code:
|
|
|
""";
|
|
""";
|
|
|
|
|
|
|
|
private static final ObjectMapper mapper = new ObjectMapper();
|
|
private static final ObjectMapper mapper = new ObjectMapper();
|