-
Notifications
You must be signed in to change notification settings - Fork 16k
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
2markdown loader #4796
2markdown loader #4796
Conversation
self.api_key = api_key | ||
|
||
@classmethod | ||
def from_api_key(cls, url: str, api_key: str) -> ToMarkdownLoader: |
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.
This is the same as the __ init _ _ ?
@hwchase17 removed class method, added lazy load. Feel free to merge if you're OK with it. Revert if I messed something up (or send emoji of sad cats) |
json={"url": self.url}, | ||
) | ||
text = response.json()["article"] | ||
metadata = {"url": self.url} |
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.
should we add "source"
No description provided.