dspy
dspy copied to clipboard
style(dspy): Add type checking and clearer types to BaseSentenceVectorizer
There's likely a clearer refactor of this, but as a starter for 10.
It avoids python treating strings as itterables of characters and clarifies the possible input types of some of the child classes. The comments are probably over the top.
@harrysalmon happy to merge this PR if ready!
Hi @harrysalmon , just following up again if this PR is ready to merge!