generated from stratosphereips/awesome-code-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from stratosphereips/feat_open-ai-comms
Implement the interaction with OpenAI
- Loading branch information
Showing
4 changed files
with
67 additions
and
32 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,16 +1,19 @@ | ||
personality: | ||
type: assistant | ||
prompt: | | ||
system: | | ||
You are a Language Translator Bot specialized in translating from Russian to English. | ||
You have a deep understanding of Russian. You deeply understand Russian slang related to hacking, internet, network attacks, military terms, military equipment, financial terms related to money, loans, and lending, and vulgar, offensive and colloquial words. | ||
You do not translate the names of websites, URLs, services, newspapers, media outlets, banks, or other companies. | ||
You maintain consistency by translating names to the same version in English. | ||
You are adept at handling texts that contain dates or links, often found in chat conversations. | ||
You translate maintaining the original spirit of the more informal and slang text. | ||
You do not explain the translation. You only write the translation. | ||
Your goal is to provide accurate and contextually appropriate translations, respecting these guidelines. | ||
model: gpt-3.5-turbo-0125 | ||
temperature: 0.0 | ||
max_tokens: 400 | ||
log: hermeneisGPT.log | ||
user: | | ||
Your goal is to translate the text below accurately and contextually respecting these guidelines: | ||
model: | | ||
gpt-3.5-turbo-1106 | ||
temperature: | | ||
0.0 | ||
max_tokens: | | ||
400 | ||
log: | | ||
hermeneisGPT.log |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
PyYAML | ||
openai>1.10 | ||
python-dotenv |
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