Skip to main content
Solved

How can I monitor the AI code review process?

  • September 17, 2024
  • 3 replies
  • 56 views

Forum|alt.badge.img+14

After the upgrade to 2024.2 and setting up generative AI (SQLSERVER_SF), I tried to test AI code review. Now for some templates I get a response (see below), but most of the time I get no comment and no error. So I think there is something going wrong(?).

When I look in the debug tab or start the task with the process flow monitor (Windows), I can't find any information.  

What could be the reason and where can I find it? 

Best answer by Mark Jongeling

The problem is identified. OpenAI now starts the returned result with

```json

and that was not expected. This causes the extraction of comments to fail and no comments are placed due to that. We will resolve this issue this sprint (ends 18 october). 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 612 replies
  • September 23, 2024

Hi Andre,

When there are no errors and no comments, please submit a ticket. This shouldn’t happen.

Under the hood, this AI code review uses an enrichment.

You trace what happened via the enrichment run data of the enrichment ‘Template code review’. To dive even deeper, the information is stored in ‘enrichment_run_ai_data’ and ‘model_update’ entities of the Software Factory database.


Forum|alt.badge.img+14
  • Author
  • Captain
  • 109 replies
  • September 30, 2024

I created a ticket for this question. It seems that OpenAI returns an answer that can't be parsed in 2024.2.


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3909 replies
  • Answer
  • September 30, 2024

The problem is identified. OpenAI now starts the returned result with

```json

and that was not expected. This causes the extraction of comments to fail and no comments are placed due to that. We will resolve this issue this sprint (ends 18 october). 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings