Skip to content

v0.2.0 - Unified Provider System

Choose a tag to compare

@yifanfeng97 yifanfeng97 released this 18 May 07:04
· 39 commits to main since this release

What's New

Features

  • Unified Provider System (#26): 统一 `create_client()` 接口,支持字符串简写
    • OpenAI (`create_client("openai", api_key=...)`)
    • 阿里云百炼 (`create_client("bailian", api_key=...)`)
    • 本地 vLLM (`create_client(llm="vllm:Qwen3.5-9B@http://localhost:8000/v1\", ...)`)
  • Debug Logging: LLM chunk 输入/结果日志,知识提取管道日志
  • CLI Logging: 通过 `HYPER_EXTRACT_LOG_LEVEL` 环境变量控制日志级别

Fixes

  • OpenAI-compatible Embeddings (#22): 修复 Ollama 等本地模型的 embeddings 支持
  • CLI Log Order: 修复 ontosight 覆盖日志级别的问题
  • CI Tests: 修复无 OPENAI_API_KEY 环境下的测试失败

Dependencies

  • `ontosight` >=0.1.8 (可视化引擎升级)
  • `semhash` >=0.4.1
  • `structlog` >=25.5.0

Resolved Issues

  • #26 Provider 系统统一
  • #22 Ollama embedding 修复
  • #21 国内模型支持(百炼、vLLM)
  • #24 Qwen 模型使用指南(百炼渠道)