forked from drewbaumann/AskGPT
-
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.
- Loading branch information
Showing
2 changed files
with
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +0,0 @@ | ||
/api_key.lua | ||
/configuration.lua | ||
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 @@ | ||
local CONFIGURATION = { | ||
-- Replace with your actual API key | ||
api_key = "AIzaSyCmmdUR1k_fQOZYm0-Wopz54NdTeHU4icU", | ||
|
||
-- Replace with your choice of model | ||
model = "gemini-2.0-flash-exp", | ||
|
||
-- API endpoint for Gemini (with :generateContent) | ||
api_endpoint = "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-exp:generateContent", | ||
|
||
-- Default system prompt used when asking ChatGPT a question | ||
-- It can be overridden by setting a custom prompt in the plugin settings | ||
prompt1 = "translate to Spanish.", | ||
|
||
-- Default system prompt used when asking ChatGPT a question | ||
-- It can be overridden by setting a custom prompt in the plugin settings | ||
prompt2 = "translate to Chinese.", | ||
} | ||
|
||
return CONFIGURATION |