XinyueZ/chat-your-doc

Awesome LLM application repo

Jupyter Notebook

88

302 commits

updated Mar 12, 2025

See the code

README

Awesome LLMs applications and experiments

Chat Your Doc is an experimental project aimed at exploring various applications based on LLM. Although it is nominally a chatbot project, its purpose is broader. The project explores various applications using tools such as LangChain, LlamaIndex. In the "Lab Apps" section, you can find many examples, including simple and complex ones. The project focuses on researching and exploring various LLM applications, while also incorporating other fields such as UX and computer vision. The "Lab App" section includes a table with links to various apps, descriptions, launch commands, and demos.


Agentic flow, agentic system

  • Example
  • Example
  • .....

RAG

Knowledge Center (standalone)

Also, take a look at a use-case known as Knowledge Center that leverages different RAG or Chunking techniques in this repository.

Typical multimodal Chatbot sample


Setup

Some keys

For OpenAI, set API-KEY to your environment variables.

Get OpenAI API-KEY

export OPENAI_API_KEY="sk-$TJHGFHJDSFDGAFDFRTHT§$%$%&§%&"

Conda

conda env create -n chat-ur-doc -f environment.yml
conda activate chat-ur-doc

Pip

pip install -r requirements.txt

Agentic

Storage

ref: https://python.langchain.com/docs/modules/data_connection/vectorstores/

Chroma, FAISS

pip install chromadb

pip install faiss-cpu

Popular solutions

Boilerplate codes of tokenization in LLM project, take away codes.

LLM fine-tuning step: Tokenizing

How to chat with a document via vector database?

Chat with your PDF (Streamlit Demo)

How do auto-annotation (object detection) on images?

LLM, LangChain Agent, Computer Vision

OpenAI Assistants, awesome, it manages a lot of things for you.

How to Use OpenAI Assistants (API)

Advanced RAG approaches, learn details how RAG works.

Advanced RAG

LangChain App Template Example

Experience with the LangChain App Template

wine price app, prompt and query wine price. The application has been created, just need to create data, install Poetry and run it.

Full instructions for creating a LangChain App Template can be found here: LangChain App Template

RAG, Vector and Summary pattern implementation

Llama-Index: RAG with Vector and Summary

Multi-Retrievers with Vector and Summary pattern implementation.

Llama-Index: RAG with Vector and Summary by using Agent

Agent for Vector and Summary pattern implementation.

Create Agent from Scratch

Intuitively create an agent from scratch with LangChain.

Create Agent from Scratch

Intuitively create an agent from scratch with LlamaIndex.

Multi-Query Retrieval with RAG

Enhance query context with intermediate queries during RAG to improve information retrieval for the original query.

Prio-reasoning

Explain how prio-reasoning works in LangChain(qa-chain with refine) and LlamaIndex (MultiStepQueryEngine).

RAG with Multi-Query pattern

Introduce the Multi-Query pattern in bundle and step-down solutions.

LangGraph: hello,world!

Introduce the hello,world version use-case with LangGraph, just simple example to kick off the topic.

Quick Tour: Ollama+Gemma+LangChain

Use ollama to deploy and use Gemma with langchain on local machine.

RAG with Hypothetical Document Embeddings(HyDE)

Hypothetical Document Embeddings, two-steps process of RAG. Implementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.

LangChain: Use LLM Agent for World GPU Demand Prediction Report

Reflecting the analytical methods of the AI era, based on the Agent mechanism and generative AI, intelligently generates necessary information and code.

LangChain: Multi-User Conversation Support

By using some methods, make the conversation able to happen among multiple users, achieving the basic of a simple “group conversation”.

LangChain: History-Driven RAG Enhanced By LLM-Chain Routing LangChain

Using LLM to predict the routing of the chain and achieve Retrieval Augmented Generation with help of conversation history applying HyDE or refined standalone query.

LangChain: Multi-User Conversation Support(Follow-up)

A follow-up read: Use Cohere’s documents and a special field in additional_kwargsfeature to enhance the organization of information in multi-user conversation.

(Llama-Index Workflow)Translation Agent via Reflection Workflow

Implemention of Translation Agent: Agentic translation using reflection workflow with Llama-Index workflow framework.

Ollama Workaround: DeepSeek R1 Tool Support

Tool support of Ollama served DeepSeek R1 is still not very well, in this text there is a solution to workaround it and some how we can call tool according to the model response.

Simple

AppDescriptionLaunchDemo
i-ask.shSimply ask & answer via OpenAI APIi-ask.sh "Who is Joe Biden?"
chat_openai.pyJust one chat sessionstreamlit run simple/chat_openai.py --server.port 8000 --server.enableCORS false
open_api_llm_app.pyUse OpenAI LLM to answer simple questionstreamlit run simple/open_api_llm_app.py --server.port 8001 --server.enableCORS false
read_html_app.pyGet html content and chunkstreamlit run simple/read_html_app.py --server.port 8002 --server.enableCORS false
chatbot.pyBasic chatbotstreamlit run simple/chatbot.py --server.port 8003 --server.enableCORS false
retriever.pyUse concept of retriever and LangChain Expression Language (LCEL)streamlit run simple/retriever.py --server.port 8004 --server.enableCORS false
hello_llamaindex.pyA very simple LlamaIndex to break ice of the story.streamlit run simple/hello_llamaindex.py --server.port 8005 --server.enableCORS false
llamaindex_context.pyA simple app of LlamaIndex, introduce of context for configuration, StorageContext, ServiceContext.streamlit run simple/llamaindex_context.py --server.port 8006 --server.enableCORS false
llamaindex_hub_simple.pyA simple app of LlamaIndex, introduce of load stuff from https://llamahub.ai/.streamlit run simple/llamaindex_hub_simple.py --server.port 8007 --server.enableCORS false
prio_reasoning_context.pyA simple app that based on RAG with Prio-Reasoning pattern in LlamaIndex or LangChain.streamlit run simple/prio_reasoning_context.py --server.port 8008 --server.enableCORS falseread
ollama_gemma.pyA Ollama for Gemma integration with the langchain.read
nvidia_vs_groq.pyCompare Nvidia API and Groq, by using llama2 and mixtral_8x7bstreamlit run simple/nvidia_vs_groq.py --server.port 8009 --server.enableCORS falseread
llamaindex_workflow_reflection_flow.pyImplemention of Translation Agent: Agentic translation using reflection workflow with Llama-Index workflow frameworkstreamlit run simple/llamaindex_workflow_reflection_flow.py --server.port 8009 --server.enableCORS falseread
langchain_citation_chain.py(LangChain) Retrieval Augmented Generation with Citations, inspired by Llama-index versionLlama-index version
lc_deepseek_tool_call.pyUse some workarounds to apply tool calling on Ollama served DeepSeek R1python simple/lc_deepseek_tool_call.pyOllama Workaround: DeepSeek R1 Tool Support
li_deepseek_agent.pyLlamaIndex to apply ReAct with Ollama served DeepSeek R1python simple/li_deepseek_agent.py

Intermediate

AppDescriptionLaunchDemo
sim_app.pyUse the vector database to save file in chunks and retrieve similar content from the databasestreamlit run intermediate/sim_app.py --server.port 8002 --server.enableCORS false
llm_chain_translator_app.pyUse LLMChain to do language translationstreamlit run intermediate/llm_chain_translator_app.py --server.port 8003 --server.enableCORS false
html_summary_chat_app.pySummary html contentstreamlit run intermediate/html_summary_chat_app.py --server.port 8004 --server.enableCORS false
html_2_json_app.pySummary html keypoints into keypoint jsonstreamlit run intermediate/html_2_json_app.py --server.port 8005 --server.enableCORS false
assistants.pyUse OpenAI Assistants API in different waysstreamlit run intermediate/assistants.py --server.port 8006 --server.enableCORS falseread
hyde_retrieval.pyImplementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.streamlit run intermediate/hyde_retrieval.py --server.port 8007 --server.enableCORS falseread

Advanced

AppDescriptionLaunchDemo
qa_chain_pdf_app.pyAsk info from PDF file, chat with itstreamlit run advanced/qa_chain_pdf_app.py --server.port 8004 --server.enableCORS false
faiss_app.pyAsk info from a internet file, find similar docs and answer with VectorDBQAWithSourcesChainstreamlit run advanced/faiss_app.py --server.port 8005 --server.enableCORS false
html_2_json_output_app.pyLoad html content and summary into json objectsstreamlit run advanced/html_2_json_output_app.py --server.port 8006 --server.enableCORS false
joke_bot.pyPrompt engineering to get one random joke or rate one jokepython advanced/joke_bot.py --rate "Why couldn't the bicycle stand up by itself? It was two tired." or python advanced/joke_bot.py --tell --num 4
chat_ur_docs.pyChat with documents freelystreamlit run advanced/chat_ur_docs.py --server.port 8004 --server.enableCORS falseread
image_auto_annotation.pyUse LLM, LangChain Agent and GroundingDINO to detect objects on images freely (auto-annotation)streamlit run advanced/image_auto_annotation.py --server.port 8006 --server.enableCORS falseread
langgraph_auto_annotation.pyLangGraph, YOLOv8 World, Gemma, BlipProcessor or OpenAI-Vision to detect on image freely (auto-annotation)streamlit run advanced/langgraph_auto_annotation.py --server.port 8006 --server.enableCORS false
adv_rag.pyAdvanced RAG approaches, use partition_pdf to extract texts and tables and analyze themstreamlit run advanced/adv_rag.py --server.port 8007 --server.enableCORS falseread
llamaindex_vector_summary_retriever.pyUse LlamaIndex to apply vectory/summary pattern by using multi retrieversstreamlit run advanced/llamaindex_multi_vector_summary.py --server.port 8008 --server.enableCORS falseread
llamaindex_vector_summary_agent.pyUse LlamaIndex to apply vectory/summary pattern by using agentstreamlit run advanced/llamaindex_multi_vector_summary_agent.py --server.port 8009 --server.enableCORS falseread
multi_queries.pyUse LlamaIndex and LangChain to apply the multi-queries pattern, including build method of the LangChain, and custom retriever based solution in Llama-Index, also the other sub-query based solutionsstreamlit run advanced/multi_queries.py --server.port 8010 --server.enableCORS falseread
langgraph_agent_mailtool.pyUse LangGraph (Groq is used for agent) to driven a Email deliever of the custom receipts.streamlit run advanced/langgraph_agent_mailtool.py --server.port 8011 --server.enableCORS false
llamaindex_adaptive_rag.pyApp that implements the adaptive RAG patternstreamlit run advanced/llamaindex_adaptive_rag.py --server.port 8012 --server.enableCORS false

Notebooks

NotebookDescriptionDemo
audio2text2LLM.ipynbBasic audio to text and summary
audio2text2music.ipynbaudiocraft, Whisper, automatic-speech-recognition, speech to text, generate music by the text, synthesis speech+BGM
image_description.ipynbUse OpenAI Vision or blip-image-captioning-base, blip-image-captioning-large, a use-case to get the image description.
image_desc2music.ipynbaudiocraft blip-image-captioning-base, blip-image-captioning-large, a use-case to get the image description and generate music based on the image
langchain_agent_scratch.ipynbCreate the agent from scratch in langchainread
llamaindex_agent_from_scratch.ipynbCreate the agent from scratch with LlamaIndexread
llamaindex_vector_summary_retriever.ipynbUse LlamaIndex to apply vectory/summary pattern by using multi retrieversread
llamaindex_vector_summary_agent.ipynbUse LlamaIndex to apply vectory/summary pattern by using agentread
multi_queries_retrieval.ipynbUse LlamaIndex and LangChain to apply mutli-query pattern for RAGread
yolo8_world_and_openai_vision.pyUse YoLoV8 World and OpenAI Vision together to enchance image auto-annotation
yolo8_world_and_gemma.pyUse YoLoV8 World, OpenAI Vision, Ollama Gemma integration to enchance image auto-annotation
langgraph_helloworld.ipynbhello,world version of langgraphread
langchain_agent_gmail.ipynbUse LangGraph to driven a Email deliever of the custom receipts.
hyde_retrieval.ipynbImplementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.read
agent_gpu_demand_prediction.ipynbUse pure Agent (LangChain) to generate a report paper of global GPU demand prediction.read,,
multi_user_conversation.ipynbTry to do multi-user chat with LangChain, ConversationBufferMemory, ConversationChain, RunnableWithMessageHistory, ChatMessageHistory, convert_openai_messages and LCELread read (Follow-up)
DenseXRetrieval.ipynbDense X Retrieval: What Retrieval Granularity Should We Use? by using Llama Packs
llamaindex_query_router.ipynbLLM application through query routing and long-context, a type of reflection flow based on the user query. Inspired by Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach

Star History



artificial-intelligence
deep-learning
langchain
llama-index
llm
openai

XinyueZ/chat-your-doc

Awesome LLM application repo

Jupyter Notebook

88

302 commits

updated Mar 12, 2025

See the code

README

Awesome LLMs applications and experiments

Chat Your Doc is an experimental project aimed at exploring various applications based on LLM. Although it is nominally a chatbot project, its purpose is broader. The project explores various applications using tools such as LangChain, LlamaIndex. In the "Lab Apps" section, you can find many examples, including simple and complex ones. The project focuses on researching and exploring various LLM applications, while also incorporating other fields such as UX and computer vision. The "Lab App" section includes a table with links to various apps, descriptions, launch commands, and demos.


Agentic flow, agentic system

  • Example
  • Example
  • .....

RAG

Knowledge Center (standalone)

Also, take a look at a use-case known as Knowledge Center that leverages different RAG or Chunking techniques in this repository.

Typical multimodal Chatbot sample


Setup

Some keys

For OpenAI, set API-KEY to your environment variables.

Get OpenAI API-KEY

export OPENAI_API_KEY="sk-$TJHGFHJDSFDGAFDFRTHT§$%$%&§%&"

Conda

conda env create -n chat-ur-doc -f environment.yml
conda activate chat-ur-doc

Pip

pip install -r requirements.txt

Agentic

Storage

ref: https://python.langchain.com/docs/modules/data_connection/vectorstores/

Chroma, FAISS

pip install chromadb

pip install faiss-cpu

Popular solutions

Boilerplate codes of tokenization in LLM project, take away codes.

LLM fine-tuning step: Tokenizing

How to chat with a document via vector database?

Chat with your PDF (Streamlit Demo)

How do auto-annotation (object detection) on images?

LLM, LangChain Agent, Computer Vision

OpenAI Assistants, awesome, it manages a lot of things for you.

How to Use OpenAI Assistants (API)

Advanced RAG approaches, learn details how RAG works.

Advanced RAG

LangChain App Template Example

Experience with the LangChain App Template

wine price app, prompt and query wine price. The application has been created, just need to create data, install Poetry and run it.

Full instructions for creating a LangChain App Template can be found here: LangChain App Template

RAG, Vector and Summary pattern implementation

Llama-Index: RAG with Vector and Summary

Multi-Retrievers with Vector and Summary pattern implementation.

Llama-Index: RAG with Vector and Summary by using Agent

Agent for Vector and Summary pattern implementation.

Create Agent from Scratch

Intuitively create an agent from scratch with LangChain.

Create Agent from Scratch

Intuitively create an agent from scratch with LlamaIndex.

Multi-Query Retrieval with RAG

Enhance query context with intermediate queries during RAG to improve information retrieval for the original query.

Prio-reasoning

Explain how prio-reasoning works in LangChain(qa-chain with refine) and LlamaIndex (MultiStepQueryEngine).

RAG with Multi-Query pattern

Introduce the Multi-Query pattern in bundle and step-down solutions.

LangGraph: hello,world!

Introduce the hello,world version use-case with LangGraph, just simple example to kick off the topic.

Quick Tour: Ollama+Gemma+LangChain

Use ollama to deploy and use Gemma with langchain on local machine.

RAG with Hypothetical Document Embeddings(HyDE)

Hypothetical Document Embeddings, two-steps process of RAG. Implementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.

LangChain: Use LLM Agent for World GPU Demand Prediction Report

Reflecting the analytical methods of the AI era, based on the Agent mechanism and generative AI, intelligently generates necessary information and code.

LangChain: Multi-User Conversation Support

By using some methods, make the conversation able to happen among multiple users, achieving the basic of a simple “group conversation”.

LangChain: History-Driven RAG Enhanced By LLM-Chain Routing LangChain

Using LLM to predict the routing of the chain and achieve Retrieval Augmented Generation with help of conversation history applying HyDE or refined standalone query.

LangChain: Multi-User Conversation Support(Follow-up)

A follow-up read: Use Cohere’s documents and a special field in additional_kwargsfeature to enhance the organization of information in multi-user conversation.

(Llama-Index Workflow)Translation Agent via Reflection Workflow

Implemention of Translation Agent: Agentic translation using reflection workflow with Llama-Index workflow framework.

Ollama Workaround: DeepSeek R1 Tool Support

Tool support of Ollama served DeepSeek R1 is still not very well, in this text there is a solution to workaround it and some how we can call tool according to the model response.

Simple

AppDescriptionLaunchDemo
i-ask.shSimply ask & answer via OpenAI APIi-ask.sh "Who is Joe Biden?"
chat_openai.pyJust one chat sessionstreamlit run simple/chat_openai.py --server.port 8000 --server.enableCORS false
open_api_llm_app.pyUse OpenAI LLM to answer simple questionstreamlit run simple/open_api_llm_app.py --server.port 8001 --server.enableCORS false
read_html_app.pyGet html content and chunkstreamlit run simple/read_html_app.py --server.port 8002 --server.enableCORS false
chatbot.pyBasic chatbotstreamlit run simple/chatbot.py --server.port 8003 --server.enableCORS false
retriever.pyUse concept of retriever and LangChain Expression Language (LCEL)streamlit run simple/retriever.py --server.port 8004 --server.enableCORS false
hello_llamaindex.pyA very simple LlamaIndex to break ice of the story.streamlit run simple/hello_llamaindex.py --server.port 8005 --server.enableCORS false
llamaindex_context.pyA simple app of LlamaIndex, introduce of context for configuration, StorageContext, ServiceContext.streamlit run simple/llamaindex_context.py --server.port 8006 --server.enableCORS false
llamaindex_hub_simple.pyA simple app of LlamaIndex, introduce of load stuff from https://llamahub.ai/.streamlit run simple/llamaindex_hub_simple.py --server.port 8007 --server.enableCORS false
prio_reasoning_context.pyA simple app that based on RAG with Prio-Reasoning pattern in LlamaIndex or LangChain.streamlit run simple/prio_reasoning_context.py --server.port 8008 --server.enableCORS falseread
ollama_gemma.pyA Ollama for Gemma integration with the langchain.read
nvidia_vs_groq.pyCompare Nvidia API and Groq, by using llama2 and mixtral_8x7bstreamlit run simple/nvidia_vs_groq.py --server.port 8009 --server.enableCORS falseread
llamaindex_workflow_reflection_flow.pyImplemention of Translation Agent: Agentic translation using reflection workflow with Llama-Index workflow frameworkstreamlit run simple/llamaindex_workflow_reflection_flow.py --server.port 8009 --server.enableCORS falseread
langchain_citation_chain.py(LangChain) Retrieval Augmented Generation with Citations, inspired by Llama-index versionLlama-index version
lc_deepseek_tool_call.pyUse some workarounds to apply tool calling on Ollama served DeepSeek R1python simple/lc_deepseek_tool_call.pyOllama Workaround: DeepSeek R1 Tool Support
li_deepseek_agent.pyLlamaIndex to apply ReAct with Ollama served DeepSeek R1python simple/li_deepseek_agent.py

Intermediate

AppDescriptionLaunchDemo
sim_app.pyUse the vector database to save file in chunks and retrieve similar content from the databasestreamlit run intermediate/sim_app.py --server.port 8002 --server.enableCORS false
llm_chain_translator_app.pyUse LLMChain to do language translationstreamlit run intermediate/llm_chain_translator_app.py --server.port 8003 --server.enableCORS false
html_summary_chat_app.pySummary html contentstreamlit run intermediate/html_summary_chat_app.py --server.port 8004 --server.enableCORS false
html_2_json_app.pySummary html keypoints into keypoint jsonstreamlit run intermediate/html_2_json_app.py --server.port 8005 --server.enableCORS false
assistants.pyUse OpenAI Assistants API in different waysstreamlit run intermediate/assistants.py --server.port 8006 --server.enableCORS falseread
hyde_retrieval.pyImplementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.streamlit run intermediate/hyde_retrieval.py --server.port 8007 --server.enableCORS falseread

Advanced

AppDescriptionLaunchDemo
qa_chain_pdf_app.pyAsk info from PDF file, chat with itstreamlit run advanced/qa_chain_pdf_app.py --server.port 8004 --server.enableCORS false
faiss_app.pyAsk info from a internet file, find similar docs and answer with VectorDBQAWithSourcesChainstreamlit run advanced/faiss_app.py --server.port 8005 --server.enableCORS false
html_2_json_output_app.pyLoad html content and summary into json objectsstreamlit run advanced/html_2_json_output_app.py --server.port 8006 --server.enableCORS false
joke_bot.pyPrompt engineering to get one random joke or rate one jokepython advanced/joke_bot.py --rate "Why couldn't the bicycle stand up by itself? It was two tired." or python advanced/joke_bot.py --tell --num 4
chat_ur_docs.pyChat with documents freelystreamlit run advanced/chat_ur_docs.py --server.port 8004 --server.enableCORS falseread
image_auto_annotation.pyUse LLM, LangChain Agent and GroundingDINO to detect objects on images freely (auto-annotation)streamlit run advanced/image_auto_annotation.py --server.port 8006 --server.enableCORS falseread
langgraph_auto_annotation.pyLangGraph, YOLOv8 World, Gemma, BlipProcessor or OpenAI-Vision to detect on image freely (auto-annotation)streamlit run advanced/langgraph_auto_annotation.py --server.port 8006 --server.enableCORS false
adv_rag.pyAdvanced RAG approaches, use partition_pdf to extract texts and tables and analyze themstreamlit run advanced/adv_rag.py --server.port 8007 --server.enableCORS falseread
llamaindex_vector_summary_retriever.pyUse LlamaIndex to apply vectory/summary pattern by using multi retrieversstreamlit run advanced/llamaindex_multi_vector_summary.py --server.port 8008 --server.enableCORS falseread
llamaindex_vector_summary_agent.pyUse LlamaIndex to apply vectory/summary pattern by using agentstreamlit run advanced/llamaindex_multi_vector_summary_agent.py --server.port 8009 --server.enableCORS falseread
multi_queries.pyUse LlamaIndex and LangChain to apply the multi-queries pattern, including build method of the LangChain, and custom retriever based solution in Llama-Index, also the other sub-query based solutionsstreamlit run advanced/multi_queries.py --server.port 8010 --server.enableCORS falseread
langgraph_agent_mailtool.pyUse LangGraph (Groq is used for agent) to driven a Email deliever of the custom receipts.streamlit run advanced/langgraph_agent_mailtool.py --server.port 8011 --server.enableCORS false
llamaindex_adaptive_rag.pyApp that implements the adaptive RAG patternstreamlit run advanced/llamaindex_adaptive_rag.py --server.port 8012 --server.enableCORS false

Notebooks

NotebookDescriptionDemo
audio2text2LLM.ipynbBasic audio to text and summary
audio2text2music.ipynbaudiocraft, Whisper, automatic-speech-recognition, speech to text, generate music by the text, synthesis speech+BGM
image_description.ipynbUse OpenAI Vision or blip-image-captioning-base, blip-image-captioning-large, a use-case to get the image description.
image_desc2music.ipynbaudiocraft blip-image-captioning-base, blip-image-captioning-large, a use-case to get the image description and generate music based on the image
langchain_agent_scratch.ipynbCreate the agent from scratch in langchainread
llamaindex_agent_from_scratch.ipynbCreate the agent from scratch with LlamaIndexread
llamaindex_vector_summary_retriever.ipynbUse LlamaIndex to apply vectory/summary pattern by using multi retrieversread
llamaindex_vector_summary_agent.ipynbUse LlamaIndex to apply vectory/summary pattern by using agentread
multi_queries_retrieval.ipynbUse LlamaIndex and LangChain to apply mutli-query pattern for RAGread
yolo8_world_and_openai_vision.pyUse YoLoV8 World and OpenAI Vision together to enchance image auto-annotation
yolo8_world_and_gemma.pyUse YoLoV8 World, OpenAI Vision, Ollama Gemma integration to enchance image auto-annotation
langgraph_helloworld.ipynbhello,world version of langgraphread
langchain_agent_gmail.ipynbUse LangGraph to driven a Email deliever of the custom receipts.
hyde_retrieval.ipynbImplementation of HyDE retrieval by LlamaIndex, hybrid, local or remote LLMs.read
agent_gpu_demand_prediction.ipynbUse pure Agent (LangChain) to generate a report paper of global GPU demand prediction.read,,
multi_user_conversation.ipynbTry to do multi-user chat with LangChain, ConversationBufferMemory, ConversationChain, RunnableWithMessageHistory, ChatMessageHistory, convert_openai_messages and LCELread read (Follow-up)
DenseXRetrieval.ipynbDense X Retrieval: What Retrieval Granularity Should We Use? by using Llama Packs
llamaindex_query_router.ipynbLLM application through query routing and long-context, a type of reflection flow based on the user query. Inspired by Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach

Star History



artificial-intelligence
deep-learning
langchain
llama-index
llm
openai

Significant stargazers

Abhik Bhattacharjee

94 followers · starred Sep 2024