diff options
author | Aymane Hrouch <jo.aymane@gmail.com> | 2023-04-27 16:43:59 +0200 |
---|---|---|
committer | Aymane Hrouch <jo.aymane@gmail.com> | 2023-04-27 16:43:59 +0200 |
commit | f1594cfddecf2bd47a25d54852834b392eaa4efd (patch) | |
tree | 6fec52831117ee43fe7141a153b7e123ff09d469 /you | |
parent | Merge pull request #201 from DanielShemesh/patch-4 (diff) | |
download | gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar.gz gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar.bz2 gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar.lz gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar.xz gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.tar.zst gpt4free-f1594cfddecf2bd47a25d54852834b392eaa4efd.zip |
Diffstat (limited to 'you')
-rw-r--r-- | you/__init__.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/you/__init__.py b/you/__init__.py index 397600bd..6925e79f 100644 --- a/you/__init__.py +++ b/you/__init__.py @@ -9,19 +9,19 @@ from tls_client import Session class Completion: @staticmethod def create( - prompt: str, - page: int = 1, - count: int = 10, - safe_search: str = 'Moderate', - on_shopping_page: bool = False, - mkt: str = '', - response_filter: str = 'WebPages,Translations,TimeZone,Computation,RelatedSearches', - domain: str = 'youchat', - query_trace_id: str = None, - chat: list = None, - include_links: bool = False, - detailed: bool = False, - debug: bool = False, + prompt: str, + page: int = 1, + count: int = 10, + safe_search: str = 'Moderate', + on_shopping_page: bool = False, + mkt: str = '', + response_filter: str = 'WebPages,Translations,TimeZone,Computation,RelatedSearches', + domain: str = 'youchat', + query_trace_id: str = None, + chat: list = None, + include_links: bool = False, + detailed: bool = False, + debug: bool = False, ) -> dict: if chat is None: chat = [] |