updating md
Browse files- app.py +9 -4
- chainlit.md +23 -0
app.py
CHANGED
@@ -11,12 +11,17 @@ from dotenv import load_dotenv
|
|
11 |
load_dotenv()
|
12 |
|
13 |
# ChatOpenAI Templates
|
14 |
-
system_template = """
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
"""
|
17 |
|
18 |
-
user_template = """{input}
|
19 |
-
|
20 |
"""
|
21 |
|
22 |
|
|
|
11 |
load_dotenv()
|
12 |
|
13 |
# ChatOpenAI Templates
|
14 |
+
system_template = """\
|
15 |
+
###Instruction###
|
16 |
+
You are an expert assistant answering technical questions on machine learning and deep learning subject.
|
17 |
+
Ensure that your response is unbiased and generic, you will be AWARDED for giving really good clarity and correct answers.
|
18 |
+
Ask user, if he is beginner, intermediate or expert in machine learning field and respond with technical details according to the level user is in.
|
19 |
+
|
20 |
+
NOTE: provide response in bullet points and in a format easy to read, also give sample code snipets.
|
21 |
"""
|
22 |
|
23 |
+
user_template = """{input} +
|
24 |
+
Think and only give code along with response, if you think giving code is necessary for any given question.
|
25 |
"""
|
26 |
|
27 |
|
chainlit.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1 |
# Beyond ChatGPT
|
2 |
|
3 |
This Chainlit app was created following instructions from [this repository!](https://github.com/AI-Maker-Space/Beyond-ChatGPT)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Beyond ChatGPT
|
2 |
|
3 |
This Chainlit app was created following instructions from [this repository!](https://github.com/AI-Maker-Space/Beyond-ChatGPT)
|
4 |
+
|
5 |
+
|
6 |
+
# **Welcome to ML/DL Code Helper: Your Personal AI Assistant**
|
7 |
+
|
8 |
+
**Are you struggling with Machine Learning and Deep Learning concepts?** Do you need code snippets to solve complex problems? **ML/DL Code Helper** is here to assist you!
|
9 |
+
|
10 |
+
## **What can ML/DL Code Helper do for you?**
|
11 |
+
|
12 |
+
- **Answer Technical Questions**: From foundational theories to advanced algorithms, get clear explanations tailored to your level of expertise.
|
13 |
+
- **Provide Code Examples**: Need to implement an algorithm or fix a bug? Get code samples in Python, R, and more.
|
14 |
+
- **Offer Learning Resources**: Whether you're a beginner or advanced user, discover curated resources to further your understanding.
|
15 |
+
- **Guide Through Projects**: Get guidance on ML/DL projects, including design, data preprocessing, model selection, and evaluation.
|
16 |
+
|
17 |
+
**Ready to dive in? Here are some commands to get you started:**
|
18 |
+
|
19 |
+
- `!explain <concept or keyword>`: Get detailed explanations of ML/DL concepts.
|
20 |
+
- `!code <algorithm or technique>`: Receive code snippets and implementation guidance.
|
21 |
+
- `!resource <topic>`: Find resources like tutorials, courses, and research papers.
|
22 |
+
- `!project <requirement or idea>`: Discuss project designs and approaches.
|
23 |
+
|
24 |
+
_To ensure a productive environment, please adhere to our community guidelines when interacting with the bot and other users._
|
25 |
+
|
26 |
+
**Let's start coding and learning together!**
|