Skip to content

feat(fetch): added playwright support #113

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

Merged
merged 1 commit into from
Apr 30, 2024
Merged

feat(fetch): added playwright support #113

merged 1 commit into from
Apr 30, 2024

Conversation

PeriniM
Copy link
Contributor

@PeriniM PeriniM commented Apr 30, 2024

Now the html pages will be fetched using Playwright.
If after using the browser in headless mode you don't get results, you can set the headless flag to False in the graph config.

graph_config = {
    "llm": {
        "model": "groq/gemma-7b-it",
        "api_key": groq_key,
        "temperature": 0
    },
    "embeddings": {
        "model": "ollama/nomic-embed-text",
        "temperature": 0,
        "base_url": "http://localhost:11434",  # set ollama URL arbitrarily
    },
    "headless": False
}

@PeriniM PeriniM requested a review from VinciGit00 April 30, 2024 02:09
@VinciGit00 VinciGit00 merged commit e494455 into pre/beta Apr 30, 2024
3 checks passed
Copy link

🎉 This PR is included in version 0.5.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@VinciGit00 VinciGit00 deleted the playwright branch April 30, 2024 08:03
Copy link

🎉 This PR is included in version 0.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants