-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
1,432 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@google/generative-ai": minor | ||
--- | ||
|
||
Add code execution feature. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [CodeExecutionResult](./generative-ai.codeexecutionresult.md) | ||
|
||
## CodeExecutionResult interface | ||
|
||
Result of executing the `ExecutableCode`<!-- -->. Only generated when using code execution, and always follows a `Part` containing the `ExecutableCode`<!-- -->. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface CodeExecutionResult | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [outcome](./generative-ai.codeexecutionresult.outcome.md) | | [Outcome](./generative-ai.outcome.md) | Outcome of the code execution. | | ||
| [output](./generative-ai.codeexecutionresult.output.md) | | string | Contains stdout when code execution is successful, stderr or other description otherwise. | | ||
|
13 changes: 13 additions & 0 deletions
13
docs/reference/main/generative-ai.codeexecutionresult.outcome.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [CodeExecutionResult](./generative-ai.codeexecutionresult.md) > [outcome](./generative-ai.codeexecutionresult.outcome.md) | ||
|
||
## CodeExecutionResult.outcome property | ||
|
||
Outcome of the code execution. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
outcome: Outcome; | ||
``` |
Oops, something went wrong.