{"id":22313254,"url":"https://github.com/ridadogrul/simplechatbotwithmemory","last_synced_at":"2026-04-17T10:08:32.292Z","repository":{"id":266120209,"uuid":"897454029","full_name":"RidaDogrul/SimpleChatBotWithMemory","owner":"RidaDogrul","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-02T17:40:01.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T20:03:39.565Z","etag":null,"topics":["chatbot","langchain","memory","openai"],"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/RidaDogrul.png","metadata":{"files":{"readme":"README.md","changelog":"historywithstreaming.py","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-12-02T16:52:25.000Z","updated_at":"2024-12-02T17:40:05.000Z","dependencies_parsed_at":"2024-12-07T06:15:06.071Z","dependency_job_id":null,"html_url":"https://github.com/RidaDogrul/SimpleChatBotWithMemory","commit_stats":null,"previous_names":["ridadogrul/simplechatbotwithmemory"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RidaDogrul/SimpleChatBotWithMemory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidaDogrul%2FSimpleChatBotWithMemory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidaDogrul%2FSimpleChatBotWithMemory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidaDogrul%2FSimpleChatBotWithMemory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidaDogrul%2FSimpleChatBotWithMemory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RidaDogrul","download_url":"https://codeload.github.com/RidaDogrul/SimpleChatBotWithMemory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidaDogrul%2FSimpleChatBotWithMemory/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267417664,"owners_count":24083839,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatbot","langchain","memory","openai"],"created_at":"2024-12-03T22:06:44.338Z","updated_at":"2026-04-17T10:08:32.262Z","avatar_url":"https://github.com/RidaDogrul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleChatBotWithMemory\n\n**SimpleChatBotWithMemory** is an interactive chatbot application built using LangChain and OpenAI's GPT-3.5-turbo model. The chatbot is designed to maintain conversational context by remembering past interactions within a session, creating a more engaging and personalized user experience.\n\n## Features\n\n- **Conversational Memory**: Tracks and retains user inputs and responses during a session for a coherent conversation flow.\n- **Powered by OpenAI**: Utilizes OpenAI's GPT-3.5-turbo model to provide intelligent and context-aware responses.\n- **Session Management**: Implements session-based message history to keep conversations contextual and relevant.\n- **Scalable Design**: Designed for easy extension and integration into larger applications.\n- **Environment Configuration**: Secure handling of sensitive keys and configurations using a `.env` file.\n\n## Setting Up the Environment\n\n1. **Activate the virtual environment**:\n\n   - **Windows**:\n     ```bash\n     venv\\Scripts\\activate\n     ```\n\n   - **MacOS/Linux**:\n     ```bash\n     source venv/bin/activate\n     ```\n\n2. **Install the required dependencies**:\n   ```bash\n   pip install -r requirements.txt\n   \n###  Configure the .env File\nYou need to add the OpenAI API key and other sensitive information to the .env file. Add the following line to your .env file:\n\nOPENAI_API_KEY=your-openai-api-key\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridadogrul%2Fsimplechatbotwithmemory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridadogrul%2Fsimplechatbotwithmemory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridadogrul%2Fsimplechatbotwithmemory/lists"}