Skip to content

🍄 Vanilla RAG로 구축한 Chat with Paper (On-going projects...💭)

License

Notifications You must be signed in to change notification settings

givemetarte/chat-with-paper

Repository files navigation

Chat with Paper

zotero target version Using Zotero Plugin Template

Main features

Features about Chat with Paper:

  • 💬 Ask ChatGPT questions while reading a paper!
  • 📚 Supports multiple languages, including English and Korean (Languages other than English may be slower).
  • ✨ Better understanding with ChatGPT: Only supports gpt-4o
  • ⭐️ Compatible with only Zotero 7

zotero plugin demo

How to use

  • Download chat-with-paper.xpi file [link]
  • Install .xpi file in Zotero (drag to Plugins Manager)
  • Open Settings > Chat with Paper
  • Register your OpenAI API key and Enter! settings

RAG-based response generation pipeline

rag pipeline

  • 💬 Simple RAG based LLM chatbot!
    1. Extract text from Paper with Zotero API
    2. Split text into chunks (chunk size: 1024, overlaps: 200)
    3. Generate embeddings with text-embedding-3-large
    4. Retrieve relevant information for the user's question
    5. Provide context to ChatGPT prompt with gpt-4o
    6. Generate a response!

Future tasks

👀 Anyone is welcome to participate!

  • Encrypt and store API keys
  • Support language models other than ChatGPT (Claude-sonnet..., etc)
  • Refactor code based on LangChain
  • Improve response speed
  • Generate responses reflecting past conversations

About

🍄 Vanilla RAG로 구축한 Chat with Paper (On-going projects...💭)

Resources

License

Stars

Watchers

Forks

Packages

No packages published