豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

firecrawl/QA_clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarizing User Questions with LLMs

Question-Answering (QA) systems like Mendable have revolutionized the way users interact with technical documentation. They also could provide valuable insights to companies about what users are confused by and what are the common question themes.

However, discerning key themes from extensive sets of questions can be challenging. LLMs offer an innovative way to assist in question theme determination across large volumes of user queries.

We test clustering (group similar questions together followedf by LLM-assisted summary of themes per cluster) and map-reduce (breaking the questions down into smaller chunks, summarizing each, and then combining the results) to summarize question gathered from 1 month on the LangChain documentation.

Here is a summary of the approaches:

summary

See the two Jupyter notebooks in notebooks.

For LLMs used, you will need OpenAI and / or Anthropic API keys:

export OPENAI_KEY="your-api-key-here"
export ANTHROPIC_API_KEY="your-api-key-here"

Install packages and run:

cd notebooks
pip install -r requirements.txt
jupyter notebook

See related blog post here.

About

Analyzing chat interactions w/ LLMs to improve 🦜🔗 Langchain docs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors