q2 docs llms: add a search (as the MCP docs tool has)

Đang mở
#1,448 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli

Hướng nghiên cứu

Start by reading the existing q2 docs llms command and the MCP docs tool’s search behavior, as described in the issue. Trace how the CLI prints the index, fetches a page, and handles --full, then identify the tests covering those paths. Done means a --search <terms> option returns matching hrefs and titles; a snippet is described as ideal.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Split from #1115. Tested with q2 0.48.0.

The MCP docs tool can search the documentation, but the command line can only print the index, fetch one page, or print everything (--full, the whole corpus). An agent that wants "how do I merge table cells" has to read the 67 KB index or grep the full corpus.

Request: a search on the command line, such as q2 docs llms --search <terms>, returning matching hrefs with their titles (and ideally a snippet), like the MCP tool.

Ngôn ngữ chính
Rust
Star
321
Fork
23
Merge trung bình
11 giờ 39 phút
Pull request đã merge (30 ngày)
251

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/q2

Tất cả issue của quarto-dev/q2

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.