LibreChat icon indicating copy to clipboard operation
LibreChat copied to clipboard

🔍 Added Bing Search Plugin

Open itzraiss opened this issue 1 year ago • 3 comments

Summary

Added the Bing Search plugin, now enabling users to utilize both Bing and Google for conducting internet searches on both the Plugins and Assistants endpoints. Additionally, instructions have been added to the documentation for obtaining the responsible API.

Change Type

Please delete any irrelevant options.

  • [x] New feature (non-breaking change which adds functionality)
  • [ ] This change requires a documentation update
  • [x] Documentation update

Checklist

  • [x] My code adheres to this project's style guidelines
  • [ ] I have performed a self-review of my own code
  • [x] I have made pertinent documentation changes
  • [x] I have written tests demonstrating that my changes are effective or that my feature works
  • [x] New documents have been locally validated with mkdocs

Plugin:

https://github.com/danny-avila/LibreChat/assets/140329135/170cd224-ca50-41a4-b522-0360cadf2189

Asssitants: image

Plugin: image

itzraiss avatar Apr 03 '24 15:04 itzraiss

I still lack experience in programming; much of the code I've used as a basis is derived from existing sources (GoogleSearch). If the pull request is deemed relevant and useful for implementation in LibreChat, I'd appreciate assistance in rectifying these errors. 😅

itzraiss avatar Apr 03 '24 22:04 itzraiss

This is good keep going

kneelesh48 avatar Apr 06 '24 09:04 kneelesh48

This tool would be really great. Bing Web Search has a free tier which would work well for many users.

I am not the reviewer, just an external interested party, and have left a single comment (so far).

I have also briefly looked into your failing unit test, but can't see why it's failing with toolFunctions[testPluginKey] not being a function. Looks like it should be there, plus it's analogous to the GoogleSearch tool test.

I hope @danny-avila can take a look?

cpbotha avatar Apr 08 '24 12:04 cpbotha