summaryrefslogtreecommitdiffstats
path: root/you/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'you/__init__.py')
-rw-r--r--you/__init__.py26
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 = []