bupa1018 commited on
Commit
8970356
·
verified ·
1 Parent(s): 55b7a20

Update kadiApy_ragchain.py

Browse files
Files changed (1) hide show
  1. kadiApy_ragchain.py +4 -3
kadiApy_ragchain.py CHANGED
@@ -251,15 +251,16 @@ class KadiApyRagchain:
251
  prompt = f"""
252
  You are a Python programming assistant specialized in the "Kadi-APY" library.
253
  The "Kadi-APY" library is a Python package designed to facilitate interaction with the REST-like API of a software platform called Kadi4Mat.
254
- Your task is to formulate the next logical question a programmer would ask themselves to implement and run the method provided in "Code-contexts".
255
 
256
  "Context" contains snippets from the source code and metadata that provide details about the method.
257
 
258
  Guidelines for generating questions:
259
- - The question should be specific to the programmer's intent of using the method within a Python script.
260
  - Focus on determining the entry point of the class to which the method belongs.
261
  - Avoid vague or general questions; be precise about the next actionable steps.
262
-
 
263
  Code-contexts:
264
  {code_contexts}
265
  """
 
251
  prompt = f"""
252
  You are a Python programming assistant specialized in the "Kadi-APY" library.
253
  The "Kadi-APY" library is a Python package designed to facilitate interaction with the REST-like API of a software platform called Kadi4Mat.
254
+ Your task is to formulate the next logical question a programmer would ask themselves to implement the methods provided in "Code-contexts".
255
 
256
  "Context" contains snippets from the source code and metadata that provide details about the method.
257
 
258
  Guidelines for generating questions:
259
+ - The question should be specific to the programmer's intent of using the class of the methods within a Python script.
260
  - Focus on determining the entry point of the class to which the method belongs.
261
  - Avoid vague or general questions; be precise about the next actionable steps.
262
+ - Only generate the question, do not include any additional comments, explanations, or text.
263
+
264
  Code-contexts:
265
  {code_contexts}
266
  """