Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
axl1313 committed Feb 7, 2025
1 parent dc12648 commit a04f7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ classifiers = [
dependencies = [
"codex-sdk==0.1.0a9",
"pydantic>=1.9.0, <3",
"typing-extensions",
]

[project.urls]
Expand Down
4 changes: 2 additions & 2 deletions src/cleanlab_codex/codex_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a04f7d5

Please sign in to comment.