1
2
3
4
5
6
7
8
9
10
11
12
13
14# Gemini API LangChain Examples
## Table of contents
This is a collection of fun examples for the Gemini API used with [LangChain](https://python.langchain.com/v0.2/docs/introduction/).
* [Summarize large documents using LangChain](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_Summarization_WebLoad.ipynb): Use Gemini large context window to summarize large documents without using RAG.
* [Chat with SQL using LangChain](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Chat_with_SQL_using_langchain.ipynb): Querry your database using Gemini API and LangChain.
* [Code analysis using LangChain and DeepLake](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Code_analysis_using_Gemini_LangChain_and_DeepLake.ipynb): Use Gemini large context window to analyze all the code of a github prject.
* [Question Answering using LangChain and Chroma](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_QA_Chroma_WebLoad.ipynb): Learn how to interface Gemini, LangChain and [Chroma](https://docs.trychroma.com/).
* [Question Answering using LangChain and Pinecone](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_QA_Pinecone_WebLoad.ipynb): Learn how to interface Gemini, LangChain and [Pinecone](https://app.pinecone.io/).
There are even more examples in the [examples](https://github.com/google-gemini/cookbook/tree/main/examples) and [quickstarts](https://github.com/google-gemini/cookbook/tree/main/quickstarts) folders.