diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-24 19:59:42 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-24 19:59:42 +0200 |
commit | 78662c779a76c5fd826205ed7028115269fd3501 (patch) | |
tree | 2e0a116d4a5f1ff68b0b5232f6c5b0e4c7461dc3 /ora/README.md | |
parent | Merge pull request #90 from Whoffie/main (diff) | |
download | gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar.gz gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar.bz2 gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar.lz gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar.xz gpt4free-78662c779a76c5fd826205ed7028115269fd3501.tar.zst gpt4free-78662c779a76c5fd826205ed7028115269fd3501.zip |
Diffstat (limited to 'ora/README.md')
-rw-r--r-- | ora/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ora/README.md b/ora/README.md index b4ae0878..fb9f5974 100644 --- a/ora/README.md +++ b/ora/README.md @@ -5,6 +5,10 @@ more gpt4 models in `/testing/ora_gpt4.py` ```python +# if using CompletionModel.load set these +ora.user_id = '...' +ora.session_token = '...' + # normal gpt-4: b8b12eaa-5d47-44d3-92a6-4d706f2bcacf model = ora.CompletionModel.load(chatbot_id, 'gpt-4') # or gpt-3.5 ``` @@ -14,6 +18,7 @@ model = ora.CompletionModel.load(chatbot_id, 'gpt-4') # or gpt-3.5 # import ora import ora + # create model model = ora.CompletionModel.create( system_prompt = 'You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible', |