-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Class 3288 #1501
Open
jacket0603
wants to merge
2,278
commits into
phidatahq:feature/assistant-test
Choose a base branch
from
jacket0603:class_3288
base: feature/assistant-test
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Class 3288 #1501
jacket0603
wants to merge
2,278
commits into
phidatahq:feature/assistant-test
from
jacket0603:class_3288
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nto linear_tool
1. Error Handling: Wrapped the message prompt and response printing in a try-except block to catch and display any errors that may occur during user interaction. 2. User Feedback: Added a print statement to inform the user if an error occurs, improving the user experience.
…rnlm25-phi-1828 feature-request-internlm25-phi-1828
…ks-phi-2020 s3-knowledge-cookbooks-phi-2020
…okbook-example-phi-1918 add-azureembedder-cookbook-example-phi-1918
…hout-knowledge-base-phi-2019 context-creation-without-knowledge-base-phi-2019
…ebase-cookbook-phi-1898 Add Document Knowledge Base cookbook
…ontributing-md update license in CONTRIBUTING.md
Update README.md
Qwen2.5 Coding Agent
…toring-update-phi-2087 reasoning-agent-monitoring-update-phi-2087
…e-to-knowledge-phi-2000 change-knowledge_base-to-knowledge-phi-2000
* feat: add Discord integration tool Add Discord bot functionality to phi tools with async support. Includes basic channel and message management capabilities. - Send/delete messages - Get channel history - List channels and info - Example usage in cookbook * fix: add discord type checking overrides Add discord.* and discord.ext.* to mypy overrides to fix type checking Remove double import of discord and discord.ext * chore: add discord modules to mypy overrides in alphabetical order * chore: update Discord agent name and others - Change agent variable name to discord_agent - Pass model to agent - Get discord bot token from env * feat(discord): Simplify Discord tools implementation - Replace Discord bot with direct HTTP API calls - Use requests for simpler implementation - Add message deletion capability - Improve error handling and logging - Update cookbook example with cleaner structure - Add static methods for tool configuration The changes make the Discord tools more consistent with other tools in the project while reducing complexity and dependencies. * chore: remove redundant comment in discord_tools.py * docs: improve method docstrings - Add Args and Returns sections to method docstrings
- Implemented the `BaiduSearch` toolkit under `phi/tools/baidusearch.py`: - Allows to perform Baidu searches with options for maximum results, language settings, custom headers, and proxy support. - Integrated error handling for missing dependencies (`baidusearch`, `pycountry`) with installation instructions. - Configured search results to include title, URL, abstract, and ranking in JSON format. - Supports automatic language code conversion using `pycountry` (fallback to Chinese for invalid input). - Added an example in `cookbook/tools/baidusearch_tools.py`: - Demonstrates how to use the `BaiduSearch` tool in a Phidata `Agent`. - Configured an agent to search in both English and Chinese and select the top 3 results from 5 searches. - Includes user-friendly prompts and markdown formatting for responses. - Features: - Debug logging for easier troubleshooting. - Timeout settings for search requests. This commit expands Phidata's search capabilities by integrating Baidu, making it useful for users in regions where Baidu is a preferred search engine.
Added an example cookbook on how to use LanceDB as your Vectorstore to run your agent.
Add: Example on how to use LanceDB as vectorDB.
Update knowledge.py: Added 'psycopg[binary]' in install command.
…ai-phi-1412 google-model-vertex-ai-phi-1412
Fixed ollama knowledge example
Hey @jacket0603, can you fix your PR? This seems to have changes that aren't supposed to be there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.