bupa1018 commited on
Commit
d128dc6
·
1 Parent(s): 10d6238

Update kadi_apy_bot.py

Browse files
Files changed (1) hide show
  1. kadi_apy_bot.py +3 -2
kadi_apy_bot.py CHANGED
@@ -163,14 +163,15 @@ class KadiAPYBot:
163
 
164
  prompt = f"""You are a Python programming assistant specialized in the "Kadi-APY" library.
165
  The "Kadi-APY" library is a Python package designed to facilitate interaction with the REST-like API of a software platform called Kadi4Mat.
166
- Your task is to fullfill the user's query based on the guidelines and the combine understanding provided by
167
  "Document snippets" with the implementation details provided by "Code Snippets."
168
 
169
  Guidelines when generating code:
170
  - Display the complete code first, followed by a concise explanation in no more than 5 sentences.
171
 
 
172
  - If the user's query can not be fullfilled based on the provided snippets, reply with "The API does not support the requested functionality"
173
-
174
  "Document Snippets": These contain documentation excerpts and code examples that explain how to use the "Kadi-APY" library
175
  Document Snippets:
176
  {doc_context}
 
163
 
164
  prompt = f"""You are a Python programming assistant specialized in the "Kadi-APY" library.
165
  The "Kadi-APY" library is a Python package designed to facilitate interaction with the REST-like API of a software platform called Kadi4Mat.
166
+ Your task is to generate code to answer the user's query based on the guidelines and the combine understanding provided by
167
  "Document snippets" with the implementation details provided by "Code Snippets."
168
 
169
  Guidelines when generating code:
170
  - Display the complete code first, followed by a concise explanation in no more than 5 sentences.
171
 
172
+ General Guideline:
173
  - If the user's query can not be fullfilled based on the provided snippets, reply with "The API does not support the requested functionality"
174
+
175
  "Document Snippets": These contain documentation excerpts and code examples that explain how to use the "Kadi-APY" library
176
  Document Snippets:
177
  {doc_context}