Skip to main content

信息获取与新闻聚合器

Project description

agent_discovery

我在用的信息获取app

future palns

LLM Assistance

  • LLM-based Information summarize
  • LLM-based Information retrieval
  • LLM-based Information reranking. Based on Prompts or user's action

More Information Sources

  • arXiv

  • RSS

  • Social Media:

    • Reddit Api
    • X Api
  • News Api:

    • NewsAPI.org
    • Associated Press API
  • Technical Sources:

    • GitHub API for trending repositories
    • Stack Overflow API for trending questions
    • Dev.to API for developer articles
  • Academic Sources:

    • PubMed for medical research
    • IEEE Xplore for technical papers
    • Google Scholar integration

How to Use

install

pip install agent-discovery --upgrade
agent-discovery start --backend-port 8000 --frontend-port 8080

会在当前目录自动初始化配置,可以自己编辑。

配置项

配置模版参考:config.yaml

arXiv

arXiv:
  # query 直接沿用 arXiv 的 query 语法:
  # https://arxiv.org/help/api/user-manual#query_details
  - query: "transformer"
    max_results: 10
  - query: '("llm" OR "large language model" OR "large language models")'
    max_results: 30

新闻源

ews_source:
  enabled: true  # 是否启用
  sources: # 不想使用的源可以注释掉
    - id: v2ex-share
      name: V2EX-最新分享
    - id: zhihu
      name: 知乎
    - id: weibo
      name: 微博-实时热搜
    - id: zaobao
      name: 联合早报 
    # - id: coolapk
    #   name: 酷安-今日最热
    - id: mktnews-flash
      name: MKTNews-快讯
    - id: wallstreetcn-quick
      name: 华尔街见闻-快讯
    - id: wallstreetcn-news
      name: 华尔街见闻-最新
    - id: wallstreetcn-hot
      name: 华尔街见闻-最热
    - id: 36kr-quick
      name: 36氪-快讯
    - id: 36kr-renqi
      name: 36氪-人气榜
    - id: douyin
      name: 抖音
    - id: hupu
      name: 虎扑-主干道热帖
    - id: tieba
      name: 百度贴吧-热议
    - id: toutiao
      name: 今日头条
    - id: ithome
      name: IT之家
    - id: thepaper
      name: 澎湃新闻-热榜
    - id: sputniknewscn
      name: 卫星通讯社
    - id: cankaoxiaoxi
      name: 参考消息
    - id: pcbeta-windows11
      name: 远景论坛-Win11
    - id: cls-telegraph
      name: 财联社-电报
    - id: cls-depth
      name: 财联社-深度
    - id: cls-hot
      name: 财联社-热门
    - id: xueqiu-hotstock
      name: 雪球-热门股票
    - id: gelonghui
      name: 格隆汇-事件
    - id: fastbull-express
      name: 法布财经-快讯
    - id: fastbull-news
      name: 法布财经-头条
    - id: solidot
      name: Solidot
    - id: hackernews
      name: Hacker News
    - id: producthunt
      name: Product Hunt
    - id: github-trending-today
      name: Github-Today
    - id: bilibili-hot-search
      name: 哔哩哔哩-热搜
    - id: kuaishou
      name: 快手
    - id: kaopu
      name: 靠谱新闻
    - id: jin10
      name: 金十数据
    - id: baidu
      name: 百度热搜
    - id: nowcoder
      name: 牛客
    - id: sspai
      name: 少数派
    - id: juejin
      name: 稀土掘金
    - id: ifeng
      name: 凤凰网-热点资讯
    - id: chongbuluo-latest
      name: 虫部落-最新
    - id: chongbuluo-hot
      name: 虫部落-最热
    - id: douban
      name: 豆瓣-热门电影
    - id: steam
      name: Steam-在线人数
    - id: tencent-hot
      name: 腾讯新闻-综合早报
    - id: freebuf
      name: Freebuf-网络安全
    - id: qqvideo-tv-hotsearch
      name: 腾讯视频-热搜榜
    - id: iqiyi-hot-ranklist
      name: 爱奇艺-热播榜

RSS

rss:
  enabled: true
  freshness_filter:
    enabled: true                     # 是否启用新鲜度过滤(默认启用)

    max_age_days: 3                   # 最大文章年龄(天)
  feeds:
    - id: "hacker-news"
      name: "Hacker News"
      url: "https://hnrss.org/frontpage"
      # max_age_days: 1               # 示例:只推送1天内的文章

    - id: "ruanyifeng"
      name: "阮一峰的网络日志"
      url: "http://www.ruanyifeng.com/blog/atom.xml"
      # max_age_days: 7               # 示例:推送7天内的文章(更新较慢的博客)

    - id: "yahoo-finance"
      name: "雅虎财经"
      url: "https://finance.yahoo.com/news/rssindex"

Thanks to

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_discovery-0.0.2.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_discovery-0.0.2-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file agent_discovery-0.0.2.tar.gz.

File metadata

  • Download URL: agent_discovery-0.0.2.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for agent_discovery-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1468f941e888ce9fd3959aac5779c4b3fe5d9cfb9502d71abc7bf4cec8dc310f
MD5 8ec98a71d5b3aaad5d88e27ebbc22383
BLAKE2b-256 201fe64994d27332e1cfcb1a26ef000004b32f4b9d4758f930aa6ccbe1b17103

See more details on using hashes here.

File details

Details for the file agent_discovery-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_discovery-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 840b60cc97285b472395a54b0e7873db0884bbfbc22e0f1f3ddeb5eedbdb45ca
MD5 0b9bc9af82cc3d85056dd466943872cc
BLAKE2b-256 9616270d8dfb48c64d4892e1081e844ef6bca1b77c28f2e13480f0949b50c048

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page