{"id":14064762,"url":"https://github.com/alejandro-ao/langchain-ask-csv","last_synced_at":"2025-05-07T19:00:25.832Z","repository":{"id":163714406,"uuid":"637107158","full_name":"alejandro-ao/langchain-ask-csv","owner":"alejandro-ao","description":"A Langchain app that allows you to ask questions to a CSV file","archived":false,"fork":false,"pushed_at":"2023-09-14T01:13:04.000Z","size":59,"stargazers_count":140,"open_issues_count":6,"forks_count":92,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T13:04:52.605Z","etag":null,"topics":["langchain","python","streamlit"],"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/alejandro-ao.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":"2023-05-06T14:28:26.000Z","updated_at":"2025-03-22T00:19:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc6ce058-6469-489c-8c87-61c4f3bd5509","html_url":"https://github.com/alejandro-ao/langchain-ask-csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Flangchain-ask-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Flangchain-ask-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Flangchain-ask-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Flangchain-ask-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandro-ao","download_url":"https://codeload.github.com/alejandro-ao/langchain-ask-csv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252940883,"owners_count":21828766,"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":["langchain","python","streamlit"],"created_at":"2024-08-13T07:04:03.738Z","updated_at":"2025-05-07T19:00:25.774Z","avatar_url":"https://github.com/alejandro-ao.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Langchain Chat-CSV with OpenAI (Tutorial)\n\u003e You can find the step-by-step video tutorial to build this application [on YouTube](https://youtu.be/tjeti5vXWOU).\n\nThis is a Python application that enables you to load a CSV file and ask questions about its contents using natural language. The application leverages Language Models (LLMs) to generate responses based on the CSV data. The LLM will only provide answers related to the information present in the CSV.\n\n## How it works\n\nThe application reads the CSV file and processes the data. It utilizes OpenAI LLMs alongside with Langchain Agents in order to answer your questions. The CSV agent then uses tools to find solutions to your questions and generates an appropriate response with the help of a LLM.\n\nThe application employs Streamlit to create the graphical user interface (GUI) and utilizes Langchain to interact with the LLM.\n\n## Installation\n\nTo install the repository, follow these steps:\n\n1. Clone this repository to your local machine.\n2. Install the necessary dependencies by running the following command:\n\n   ```\n   pip install -r requirements.txt\n   ```\n\n3. Additionally, you need to obtain an OpenAI API key and add it to the `.env` file.\n\n## Usage\n\nTo use the application, execute the `main.py` file using the Streamlit CLI. Make sure you have Streamlit installed before running the application. Run the following command in your terminal:\n\n```\nstreamlit run main.py\n```\n\n## Contributing\nThis repository is intended for educational purposes only and is not designed to accept external contributions. It serves as supplemental material for the YouTube tutorial, demonstrating how to build the project.\n\nFor any suggestions or improvements related to the tutorial content, please feel free to reach out through the YouTube channel's comment section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro-ao%2Flangchain-ask-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandro-ao%2Flangchain-ask-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro-ao%2Flangchain-ask-csv/lists"}