{"id":19885986,"url":"https://github.com/rishabkumar7/langchain-google-ai","last_synced_at":"2026-01-30T10:24:56.364Z","repository":{"id":252843240,"uuid":"840449118","full_name":"rishabkumar7/langchain-google-ai","owner":"rishabkumar7","description":"Discover the power of LangChain. Build LLM powered application with LangChain and Google Gemini.","archived":false,"fork":false,"pushed_at":"2024-08-14T18:27:48.000Z","size":360,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T12:45:37.422Z","etag":null,"topics":["gemini","google-gemini","langchain","langchain-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishabkumar7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T18:22:47.000Z","updated_at":"2025-05-01T15:51:41.000Z","dependencies_parsed_at":"2024-11-12T17:38:35.304Z","dependency_job_id":"0af253c4-02ea-4550-8f6e-73acc8dd29c0","html_url":"https://github.com/rishabkumar7/langchain-google-ai","commit_stats":null,"previous_names":["rishabkumar7/langchain-google-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishabkumar7/langchain-google-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Flangchain-google-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Flangchain-google-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Flangchain-google-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Flangchain-google-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/langchain-google-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Flangchain-google-ai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260609767,"owners_count":23035990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gemini","google-gemini","langchain","langchain-python"],"created_at":"2024-11-12T17:35:57.980Z","updated_at":"2026-01-30T10:24:56.325Z","avatar_url":"https://github.com/rishabkumar7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discover the Power of LangChain\n\nWelcome to the repository for the \"Discover the Power of LangChain\" talk presented at Google Developer Group. This project demonstrates how to leverage LangChain to build a Stoic assistant that answers questions and provides guidance based on Stoic philosophy.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Setup](#setup)\n- [Usage](#usage)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nThis project showcases the integration of various LangChain components to create a Stoic assistant. The assistant uses language models, embeddings, and vector stores to provide insightful responses to user queries.\n\n## Setup\n\n1. **Clone the repository:**\n\n    ```sh\n    git clone https://github.com/yourusername/your-repo-name.git\n    cd your-repo-name\n    ```\n\n2. **Install the required dependencies:**\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n3. **Set up environment variables:**\n\n    Copy the `.env.example` file to `.env` and fill in the required API keys.\n\n    ```sh\n    cp .env.example .env\n    ```\n\n    Update the `.env` file with your API keys:\n\n    ```env\n    PINECONE_API_KEY=your_pinecone_api_key\n    PINECONE_ENV=your_pinecone_env\n    OPENAI_API_KEY=your_openai_api_key\n    GOOGLE_API_KEY=your_google_api_key\n    ```\n\n## Usage\n\n1. **Run the main application:**\n\n    ```sh\n    python main.py\n    ```\n\n    This will invoke the 'ask_stoic` function and print the response to the console.\n\n2. **Run the Streamlit app:**\n\n    ```sh\n    streamlit run streamlit.py\n    ```\n\n    This will start a Streamlit web application where you can interact with the Stoic assistant.\n\n## Project Structure\n\n- `app.py`: Contains the main logic for querying the language model and vector store.\n- `knowldge-base/knowledge_base.py`: Handles loading and processing of documents, and setting up the Pinecone vector store.\n- `main.py`: Entry point for running the application.\n- `streamlit.py`: Streamlit application for interacting with the Stoic assistant.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE]() file for details.\n\n## Author\n\n- Twitter: [@rishabincloud](https://x.com/rishabincloud)\n- LinkedIn: [rishabkumar7](https://linkedin.com/in/rishabkumar7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Flangchain-google-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Flangchain-google-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Flangchain-google-ai/lists"}