I’m not sure if this is the correct way to make a feature request, but I wanted to reference this post with Sam.
The idea is to allow users to upload PDFs or TXT files directly in chat and have the AI process and respond to questions about the content. It seems like much of the infrastructure is already in place, and it could add tremendous value for interactive discussions.
This is a perfect solution for countless organizations who run a Discourse instance. Furthermore, the AI plugin could get a global setting to allow/disallow document uploads to personas and the admin panel could get a new tab with some settings for chunking size, number of results, etc. which can be global or per-LLM. As you mentioned, it seems like much or even most of the code infrastructure already exists for this feature.
저는 프론트엔드 개발자가 아니므로 이 모든 것이 터무니없는 것일 수 있지만, 한번 들어봐 주세요…
AI 업로드 모달
컴포저 툴바에 “AI 문서” 버튼을 추가하여 특수한 AI 업로드 모달을 열 수 있다고 제안합니다(사용자가 표준 또는 향상된 처리 및 기타 설정을 선택할 수 있는 모달). 그런 다음 토픽/게시물은 아래 두 가지 중 하나가 될 수 있습니다(이 동작을 결정하는 사이트 설정을 추가할 수도 있습니다):
처리가 완료될 때까지 게시한 사용자를 제외하고는 스레드 내 다른 사용자에게 회색으로 표시되고 보이지 않으며 — 처리가 완료된 후 공개적으로 표시됩니다. 또는…
게시물을 초안으로 저장하고 업로드가 백그라운드에서 계속 진행되도록 할 수 있습니다. 열면 업로드 진행 상황을 보여주는 AI 업로드 모달이 표시됩니다. 본질적으로 AI 업로드가 완료되거나 취소될 때까지 게시를 허용하지 않습니다.
두 경우 모두 업로드가 완료되면 사용자에게 알림을 보내도록 허용하는 설정을 추가할 수 있습니다.
업로드 추적
토픽 전체에서 업로드를 추적하는 것과 관련하여, 파일 목록(해당 게시물 번호, 크기 등 포함)을 토픽 통계 아래 이 위치에 삽입할 수 있습니다: