Spaces:
Sleeping
Sleeping
Update Classes/Owiki_Class.py
Browse files- Classes/Owiki_Class.py +11 -4
Classes/Owiki_Class.py
CHANGED
|
@@ -45,11 +45,18 @@ class OWiki:
|
|
| 45 |
return prompt_template
|
| 46 |
|
| 47 |
def create_prompt_for_OIC_bot(self):
|
| 48 |
-
template = """You are OIC(Oracle Integration Cloud) Bot.
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
Context:
|
| 54 |
{context}
|
| 55 |
|
|
|
|
| 45 |
return prompt_template
|
| 46 |
|
| 47 |
def create_prompt_for_OIC_bot(self):
|
| 48 |
+
template = """You are expert OIC(Oracle Integration Cloud) Bot. You will be given a task to solve as best you can.
|
| 49 |
+
|
| 50 |
+
Here are the rules you should always follow to solve your task:
|
| 51 |
+
1. Always provide a Question Explanation with **Question Explanation:** Heading and Potential Solution with **Potential Solution:** Headings.
|
| 52 |
+
2. Take care of not being too long typically not exceeding 5000 tokens.
|
| 53 |
+
3. Response must contain all possible **Error Scenarios:** if applicable along with a **Summary:** Heading containing breif summary of the task solution at the end.
|
| 54 |
+
4. If you don't know the answer or if it is not in the context, please answer as **I am not trained on this topics due to limited resources.**
|
| 55 |
|
| 56 |
+
Here are a few examples:
|
| 57 |
+
Question: How to configure a OFSC adapter in OIC.
|
| 58 |
+
|
| 59 |
+
Now Begin!
|
| 60 |
Context:
|
| 61 |
{context}
|
| 62 |
|