Skip to content

Commit

Permalink
markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Sep 8, 2024
1 parent 8706f64 commit 1831f2c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/docs/core-abilities/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ By default, the first command that PR-Agent executes is [`describe`](https://pr-
These AI-generated outputs are now considered part of the PR metadata, and can be used in subsequent commands like `review` and `improve`.
This effectively enables chain-of-thought analysis, without doing any additional API calls which will cost time and money.

(3)
For example, when generating code suggestions for different files, PR-Agent can inject the AI-generated file summary in the prompt:

```
Expand Down Expand Up @@ -47,10 +46,6 @@ __old hunk__
...
```

(4) The entire PR files that were retrieved are used to expand and enhance the PR context (see [Dynamic Context](https://pr-agent-docs.codium.ai/core-abilities/dynamic-context/)).
(3) The entire PR files that were retrieved are used to expand and enhance the PR context (see [Dynamic Context](https://pr-agent-docs.codium.ai/core-abilities/dynamic-context/)).

(5) All the metadata described above represent several level of analysis - from hunk level, to file level, to PR level, and enables PR-Agent AI models to generate more accurate and relevant suggestions.


## Example result for prompt with metadata injection
TBD
(4) All the metadata described above represent several level of analysis - from hunk level, to file level, to PR level, and enables PR-Agent AI models to generate more accurate and relevant suggestions and feedbacks.

0 comments on commit 1831f2c

Please sign in to comment.