diff --git a/pyproject.toml b/pyproject.toml index 624d41b..cb2cba3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,6 @@ classifiers = [ dependencies = [ "codex-sdk==0.1.0a9", "pydantic>=1.9.0, <3", - "typing-extensions", ] [project.urls] diff --git a/src/cleanlab_codex/codex_tool.py b/src/cleanlab_codex/codex_tool.py index 2c3ccad..8c78c1b 100644 --- a/src/cleanlab_codex/codex_tool.py +++ b/src/cleanlab_codex/codex_tool.py @@ -92,10 +92,10 @@ def query( "The question to ask the advisor. This should be the same as the original user question, except in cases where the user question is missing information that could be additionally clarified.", ], ) -> Optional[str]: - """Asks an all-knowing advisor this question in cases where it cannot be answered from the provided Context. If the answer is not available, this returns a fallback answer or None. + """Asks an all-knowing advisor this question in cases where it cannot be answered from the provided Context. If the answer is unavailable, this returns a fallback answer or None. Args: - question: The question to ask the advisor. This should be the same as the original user question, except in cases where the user question is missing information that could be additionally clarified. + question (str): The question to ask the advisor. This should be the same as the original user question, except in cases where the user question is missing information that could be additionally clarified. Returns: The answer to the question if available. If no answer is available, this returns a fallback answer or None.