From 4f94ba1604acf0f845fdfd4fca3011bf2b7eebee Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Mon, 24 Apr 2023 19:26:27 +0100 Subject: userid and session_token --- ora/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ora/README.md') diff --git a/ora/README.md b/ora/README.md index fb9f5974..36bc2806 100644 --- a/ora/README.md +++ b/ora/README.md @@ -4,6 +4,9 @@ more gpt4 models in `/testing/ora_gpt4.py` +find the userid by visiting https://ora.sh/api/auth/session ( must be logged in on the site ) +and session_token in the cookies, it should be: __Secure-next-auth.session-token + ```python # if using CompletionModel.load set these ora.user_id = '...' @@ -43,4 +46,4 @@ while True: conversationId = init.id) print(response.completion.choices[0].text) -``` \ No newline at end of file +``` -- cgit v1.2.3