Mayuresh Agashe commited on
Commit
4ae7799
·
2 Parent(s): f4442b4 88c158d

Merge pull request #1 from mayureshagashe2105/main

Browse files
Files changed (2) hide show
  1. README.md +7 -1
  2. backend/utils/prompt.txt +10 -16
README.md CHANGED
@@ -39,4 +39,10 @@ $ streamlit run app.py # For running the Streamlit App
39
  ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
40
  ![Streamlit](https://img.shields.io/badge/Streamlit-EA6566?style=for-the-badge&logo=streamlit&logoColor=white)
41
  ![Langchain](https://img.shields.io/badge/Langchain-F70A8D?style=for-the-badge&logo=langchain&logoColor=white)
42
- ![Clarifai](https://img.shields.io/badge/Clarifai-FFA500?style=for-the-badge&logo=clarifai&logoColor=white)
 
 
 
 
 
 
 
39
  ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
40
  ![Streamlit](https://img.shields.io/badge/Streamlit-EA6566?style=for-the-badge&logo=streamlit&logoColor=white)
41
  ![Langchain](https://img.shields.io/badge/Langchain-F70A8D?style=for-the-badge&logo=langchain&logoColor=white)
42
+ ![Clarifai](https://img.shields.io/badge/Clarifai-FFA500?style=for-the-badge&logo=clarifai&logoColor=white)
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. Below is the user's query .
2
- Query: {query}
 
 
 
 
 
 
3
 
4
- You just return the helpful docstring.
5
- Helpful Answer:
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: