# Example Questions

You can try asking any question you may have in mind regarding your codebase. In most cases, Bito will give you an accurate answer. Bito uses AI to determine if you are asking about something in your codebase.

However, if you want to ask a question about your code no matter what, then you can use our pre-defined keywords such as **"my code", "my repo", "my project", "my workspace"**, etc., in your question.

The complete list of these keywords is given on our [**Available Keywords**](/ai-code-reviews-in-ide/ai-that-understands-your-code/available-keywords.md) page.&#x20;

## **Here are some popular use cases (with example questions):**&#x20;

### Code Explanation&#x20;

* What a particular code file does&#x20;
  * In **my code** what does code in sendgrid/sendemail.sh do?&#x20;
* What a particular function in my code does&#x20;
  * In **my repo** explain what function message\_tokens do&#x20;

### Code Translation&#x20;

* In **my project** rewrite the code of signup.php file in nodejs&#x20;

### Code Refactoring&#x20;

* In **my workspace** suggest code refactoring for api.py and mention all other files that need to be updated accordingly&#x20;

### Fix Bugs&#x20;

* In **my code** find runtime error possibilities in script.js&#x20;
* Find logical errors in scraper.py in **my code**&#x20;

### Detect Code Smells&#x20;

* In **my code** detect code smells in /app/cart.php and give solution&#x20;

### Generate Documentation&#x20;

* Generate documentation for search.ts in **my workspace** in markdown format&#x20;

### Generate Unit tests&#x20;

* In **my code** write unit tests for index.php&#x20;
* In **my code** generate test code for code coverage of cache.c&#x20;

### Summarize Recent Code Changes&#x20;

* summarize recent code changes in **my code**&#x20;

### Code Search using natural language&#x20;

* Any function to compute tokens in **my project**?&#x20;
* Any code or script to send emails in **my workspace**?&#x20;
* In **my repo** list all the line numbers where $alexa array is used in index.php.

### Give details of making modifications&#x20;

* In **my code** list all the files and code changes needed to add column desc in table raw\_data in dailyReport DB.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bito.ai/ai-code-reviews-in-ide/ai-that-understands-your-code/example-questions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
