Skip to content

feat: add Seltz Search tool integration#5923

Open
WilliamEspegren wants to merge 3 commits intoFlowiseAI:mainfrom
WilliamEspegren:feat/seltz-integration
Open

feat: add Seltz Search tool integration#5923
WilliamEspegren wants to merge 3 commits intoFlowiseAI:mainfrom
WilliamEspegren:feat/seltz-integration

Conversation

@WilliamEspegren
Copy link
Contributor

screenrecording-2026-03-06_23-36-16.mp4

Twitter/X: @WilliamEspegren

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new integration with Seltz AI, providing a powerful web search tool for large language models. This enhancement allows LLMs to access up-to-date web knowledge with source URLs, significantly improving their ability to answer questions and perform real-time reasoning. The addition includes a dedicated credential for API keys, a new tool node with configurable search options, and thorough testing to ensure robust performance.

Highlights

  • New Seltz API Credential: A new credential type, 'Seltz API', has been introduced to securely store and manage Seltz API keys within the system.
  • Seltz Search Tool Integration: A new 'Seltz Search' tool node has been added, allowing users to leverage the Seltz Web Knowledge API for real-time web search capabilities within their LLM workflows.
  • Configurable Search Parameters: The Seltz Search tool supports various configurable parameters such as 'Max Documents', 'Context', and 'Profile' to refine search queries and results.
  • Comprehensive Testing: Both unit and integration tests were added to ensure the reliability and correct functionality of the Seltz Search tool and its integration.
Changelog
  • packages/components/credentials/SeltzApi.credential.ts
    • Added a new credential class for Seltz API key management.
  • packages/components/nodes/tools/SeltzSearch/README.md
    • Added comprehensive documentation for the Seltz Search tool, including setup, configuration, output, and resources.
  • packages/components/nodes/tools/SeltzSearch/SeltzSearch.ts
    • Implemented the Seltz Search tool, integrating it with the Seltz Web Knowledge API and defining its parameters and functionality.
  • packages/components/nodes/tools/SeltzSearch/seltz.svg
    • Added the SVG icon for the Seltz Search tool.
  • packages/components/package.json
    • Updated dependencies to include the 'seltz' SDK.
  • packages/components/test/nodes/tools/SeltzSearch/SeltzSearch.integration.test.ts
    • Added integration tests to verify the Seltz Search tool's functionality with a real API key.
  • packages/components/test/nodes/tools/SeltzSearch/SeltzSearch.test.ts
    • Added unit tests to mock the Seltz SDK and validate the Seltz Search tool's internal logic.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new Seltz Search tool integration, which is a valuable addition. The implementation is well-structured, including the credential definition, the tool node, comprehensive unit and integration tests, and clear documentation. The code quality is high. I have one suggestion to improve robustness by adding an explicit nullish check for the Seltz API key to provide a clearer error message to the user in case of misconfiguration.

WilliamEspegren and others added 2 commits March 6, 2026 23:52
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Add `export {}` to both SeltzSearch test files so TypeScript treats
them as modules rather than scripts, preventing the block-scoped
variable redeclaration conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant