-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Integrate Perplexica search as a plugin #3168
base: develop
Are you sure you want to change the base?
Integrate Perplexica search as a plugin #3168
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Hi @boliang-pinai! Welcome to the elizaOS community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now an elizaOS contributor!
d2f0dff
to
ef436a6
Compare
58ab449
to
98ff86a
Compare
98ff86a
to
bd2348a
Compare
elizaLogger.debug("Searching with Perplexica:\n", | ||
query, history, this.settings.optimizationMode, this.settings.focusMode); |
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.
The debug log references this.settings.optimizationMode
and this.settings.focusMode
, but these properties don't exist in the settings
object. The log should use the function parameters optimizationMode
and focusMode
directly since they contain the actual values being used in the search.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
Relates to
Improving agent's web search and real time information retrieval capability by integrating the open-sourced Perplexica search.
Risks
Low
Background
What does this PR do?
This PR provides an alternative open-source LLM based web search plugin in addition to the current one.
What kind of change is this?
It adds
plugin-preplexica
which includes Perplexica search as aService
.Usage
An example of using the plugin for Telegram client:
First, set up Perplexica search engine by following the instructions at Perplexica Installation Guide
Configure the Perplexica search engine in your .env file:
messageManager.ts
file to use the Perplexica search service:Documentation changes needed?
Testing
Web search results are added to
state
and injected to the context:Telegram bot:
Where should a reviewer start?
Detailed testing steps