Last active
February 25, 2025 19:24
-
-
Save zitterbewegung/086dd344d16d4fd4b8931b7830d512b7 to your computer and use it in GitHub Desktop.
Fixed version of readme for deep-searcher ( https://milvus.io/blog/introduce-deepsearcher-a-local-open-source-deep-research.md )
This file contains hidden or 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
| from deepsearcher.configuration import Configuration, init_config | |
| from deepsearcher.online_query import query | |
| config = Configuration() | |
| # Customize your config here, | |
| # more configuration see the Configuration Details section below. | |
| config.set_provider_config("llm", "OpenAI", {"model": "gpt-4o-mini"}) | |
| #config.set_provider_config("embedding", "OpenAIEmbedding", {"model", "text-embedding-ada-002"}) | |
| config.set_provider_config("embedding", "MilvusEmbedding", {"model": "jina-embeddings-v3"}) | |
| init_config(config = config) | |
| # Load your local data | |
| from deepsearcher.offline_loading import load_from_local_files | |
| load_from_local_files(paths_or_directory="/home/r2q2/Tutorials/Deepresearch/deep-searcher/documents") | |
| # (Optional) Load from web crawling (`FIRECRAWL_API_KEY` env variable required) | |
| from deepsearcher.offline_loading import load_from_website | |
| website_url=["https://www.macrumors.com", "http://www.apple.com"] | |
| load_from_website(urls=website_url) | |
| # Query | |
| result = query("What is the iPhone 16e and how well was it reviewed?") # Your question here |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The iPhone 16e has recently been launched, positioned as Apple's most affordable smartphone, succeeding the iPhone SE (2022). It is priced at $599, which marks a significant increase from the previous SE model, which was available for $429. While the iPhone 16e incorporates the internals of the iPhone 16, it retains an older design and features a simple single-camera setup, reflecting the brand's intention to cater to budget-conscious consumers with less complexity.
Initial reviews of the iPhone 16e highlight critiques about its steep pricing in comparison to its predecessor. Reviewers are expressing concerns over whether the enhancements justify the notable price jump. Although the device has received some positive feedback due to its robust internal hardware, the lack of certain features that are available in higher-end models has raised questions among users and experts alike regarding its overall value proposition.
Expert comparisons indicate that while the iPhone 16e may outperform some budget smartphones in raw performance, the sentiment around its price point suggests that it could be perceived as expensive for its category. User reactions since its launch have been mixed, with both anticipation and disappointment about its higher cost and the absence of features that may have been expected at this price range.
In summary, the iPhone 16e presents a combination of upgraded performance and a familiar design, but its reception is tempered by concerns over its pricing relative to competitors and earlier models in the same product line. Initial sales figures and long-term user experiences are yet to be fully assessed, but early feedback indicates a cautious approach from potential buyers.