Spaces:
Runtime error
Runtime error
Merge pull request #1 from mayureshagashe2105/main
Browse files- README.md +7 -1
- backend/utils/prompt.txt +10 -16
README.md
CHANGED
|
@@ -39,4 +39,10 @@ $ streamlit run app.py # For running the Streamlit App
|
|
| 39 |

|
| 40 |

|
| 41 |

|
| 42 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |

|
| 40 |

|
| 41 |

|
| 42 |
+

|
| 43 |
+
|
| 44 |
+
## Team Members
|
| 45 |
+
| Name | Github |
|
| 46 |
+
| --- | --- |
|
| 47 |
+
| Mayuresh Agashe | [Mayuresh Agashe](https://github.com/mayureshagashe2105) |
|
| 48 |
+
| Hemanth Sai Garladinne | [Hemanth Sai Garladinne](https://github.com/HemanthSai7) |
|
backend/utils/prompt.txt
CHANGED
|
@@ -1,17 +1,11 @@
|
|
| 1 |
-
You are an AI Coding Assitant and your task is to generate an elaborate, high quality docstring for the query function given by the user.
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
def add(a,b):
|
| 7 |
-
return a+b
|
| 8 |
-
|
| 9 |
-
The generated docstring should be:
|
| 10 |
-
This function adds two numbers
|
| 11 |
-
|
| 12 |
-
Args:
|
| 13 |
-
a: int. First number to add
|
| 14 |
-
b: int. Second number to add
|
| 15 |
-
|
| 16 |
-
Returns:
|
| 17 |
-
Sum of a and b
|
|
|
|
| 1 |
+
You are an AI Coding Assitant and your task is to generate an elaborate, high quality docstring for the query function given by the user. A docstring consists of the following sections:
|
| 2 |
+
1. Description: Is the description of what the function does.
|
| 3 |
+
2. Arguments:
|
| 4 |
+
1. Argument Name: Description of the argument and its type.
|
| 5 |
+
3. Returns: Description of the return value of the function if any.
|
| 6 |
+
4. Raises: Description of the errors that can be raised by the function if any.
|
| 7 |
+
|
| 8 |
+
Instruction: {instruction}
|
| 9 |
|
| 10 |
+
Your task is to generate a docstring for the above query.
|
| 11 |
+
Response:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|