Skip to content

Conversation

@epage480
Copy link
Contributor

@epage480 epage480 commented May 5, 2024

  • Added update_config function to base_node.py
  • Added set_common_params function to abstract_graph.py
  • Changed key value in node_config to match the attribute ("llm" -> "llm_model")
  • Some node files varied between "llm" and "llm_model", changed so all nodes consistently use "llm_model"
  • Updated graphs and examples to use the naming scheme and take advantage of set_common_params function (mostly removing "verbose" and "headless" in the nodes. We can probably adapt "llm_model", "embedder_model" and others common parameters as well but this would require making node_config an optional parameter for most nodes.
  • NOTE: I was able to run all openai examples (except for custom_graph_openai.py which was broken before my changes) and the single_node files but I am currently unable to get the test files running due to an environment error (I'm currently on windows and cannot run ubuntu)

@epage480 epage480 marked this pull request as ready for review May 5, 2024 14:19
@VinciGit00 VinciGit00 merged commit 3bef9bb into ScrapeGraphAI:pre/beta May 5, 2024
@github-actions
Copy link

github-actions bot commented May 5, 2024

🎉 This PR is included in version 0.9.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented May 6, 2024

🎉 This PR is included in version 0.10.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented May 8, 2024

🎉 This PR is included in version 0.10.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