-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented changes for Gemini API call invocation through Google Nat…
…ive API's
- Loading branch information
1 parent
1553ed2
commit 4193475
Showing
3 changed files
with
70 additions
and
2 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
20 changes: 20 additions & 0 deletions
20
blogs-analyzer/src/main/java/com/nashtech/blogs/analyzer/model/OutgoingRequest.java
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,20 @@ | ||
package com.nashtech.blogs.analyzer.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class OutgoingRequest { | ||
private Content[] contents; | ||
|
||
@Data | ||
public static class Content { | ||
private Part[] parts; | ||
|
||
@Data | ||
public static class Part { | ||
private String text; | ||
|
||
} | ||
} | ||
} | ||
|
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