Skip to content

Commit

Permalink
update configuration.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
jarodise committed Dec 13, 2024
1 parent ace876f commit be9a428
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
/api_key.lua
/configuration.lua
20 changes: 20 additions & 0 deletions configuration.lua
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

0 comments on commit be9a428

Please sign in to comment.