Skip to content

Commit 8f09c2f

Browse files
added example questions to getting started guide
added a set of example questions and a follow-up question to the "Ask questions" section of the getting started guide to test out the chat feature. It covers diff question types, technologies and shows the ability of the model to answer follow-up questions.
2 parents 8d7c245 + b4d3af8 commit 8f09c2f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/getting-started.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ To use the chat, either click on the "Ask anything" prompt, or use the **Command
1919

2020
The Granite.Code assistant can answer a range of question types, including general coding knowledge questions, advice on particular coding problems, learning best practices, and generating example code. Here are some example questions that you can try out:
2121

22-
1. TODO: general coding knowledge question. What is an X in Y?
23-
2. TODO: problem solving question. I am doing X. How do I do Y?
24-
3. TODO: best practices question. I am writing X. How do I make sure that it is performant?
22+
1. What is an index in SQL and why is it important?
23+
2. I have a CSV with the format: student_id, subject, test_score. How do I write a Python script to show average score per subject?
24+
3. In React, I want to get information from the server when the component is created. How do I do that?
2525

26-
Once you have asked a question, you can ask follow-up questions about the model's response. For example, TODO.
26+
Once you have asked a question, you can ask follow-up questions about the model's response. For example:
27+
28+
How can I handle loading and error states while fetching the data from the server?
2729

2830
## Ask about a code section
2931

0 commit comments

Comments
 (0)