-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[docs] Add Google-style docstrings for dspy/adapters/chat_adapter.py ChatAdapter class #9063 #9072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Add Google-style docstrings for dspy/adapters/chat_adapter.py ChatAdapter class #9063 #9072
Conversation
|
@chenmoneygithub can you review this PR when you get the chance? |
chenmoneygithub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
|
I was also thinking of helping with chat adapter and happy to see work has started. @chenmoneygithub I think this is a super important module and the docs should include an example, what do you think? |
chenmoneygithub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized that the doc patching doesn't work well with mkdocs. Pushed a commit to just copy over the args.
Thanks again for the PR!
This PR adds a Google-style docstring for ChatAdapter class and constructor
in dspy/adapters/chat_adapter.py.
Behavior verified in IPython (returns a NEW Signature class with same fields and new instructions).
No logic changes.
Refs: #9063