{"id":19166185,"url":"https://github.com/faizanf33/openprompt","last_synced_at":"2026-04-17T08:04:37.596Z","repository":{"id":209763624,"uuid":"724892867","full_name":"Faizanf33/openprompt","owner":"Faizanf33","description":"Create personalized chat bots using flask","archived":false,"fork":false,"pushed_at":"2023-11-29T04:38:30.000Z","size":334,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T23:17:05.736Z","etag":null,"topics":["chat-application","chatbot","flask","flask-application","openai"],"latest_commit_sha":null,"homepage":"https://open-prompt.onrender.com/","language":"CSS","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/Faizanf33.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-11-29T02:12:55.000Z","updated_at":"2023-12-02T02:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1e010ec-5783-498d-bde5-2bcddcb5c302","html_url":"https://github.com/Faizanf33/openprompt","commit_stats":null,"previous_names":["faizanf33/chat_application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Faizanf33/openprompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizanf33%2Fopenprompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizanf33%2Fopenprompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizanf33%2Fopenprompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizanf33%2Fopenprompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Faizanf33","download_url":"https://codeload.github.com/Faizanf33/openprompt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizanf33%2Fopenprompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["chat-application","chatbot","flask","flask-application","openai"],"created_at":"2024-11-09T09:31:45.479Z","updated_at":"2026-04-17T08:04:37.576Z","avatar_url":"https://github.com/Faizanf33.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personalized Chat Bot Application\n\nA custom chat bot application that can be used to create personalized chat bots for any purpose. The application is built using Python and Flask.\n\n## Dependencies\n\n- Python 3.9+\n- Flask\n- OPENAI API Key (set inside the .env file)\n\n## Setup\n\n- Copy the `.env.example` file to `.env`\n- Fill in the all the variables\n\n| Variable                | Data                                                 |\n| ----------------------- | ---------------------------------------------------- |\n| `PORT`                  | Port to serve the API at                             |\n| `OPENAI_API_KEY`        | Connection string of the MongoDB database            |\n| `GPT_MODEL`             | GPT model to use for generating the response         |\n| `GPT_TEMPERATURE`       | Temperature to use for generating the response       |\n| `GPT_MAX_TOKENS`        | Maximum number of tokens to generate                 |\n| `GPT_FREQUENCY_PENALTY` | Frequency penalty to use for generating the response |\n| `GPT_PRESENCE_PENALTY`  | Presence penalty to use for generating the response  |\n| `UPLOAD_FOLDER`         | Folder to store the chats                            |\n\nAfter that the application can be started either in development or production mode.\n\n### Extract the zip file\n\n```bash\nunzip chat_application.zip\n```\n\n### Go to the project folder\n\n```bash\ncd chat_app\n```\n\n### Create a virtual environment\n\n```bash\npython3 -m venv .venv\n```\n\n### Activate the virtual environment\n\n```bash\nsource .venv/bin/activate # linux/macOS\n```\n\n```bash\n.venv\\Scripts\\activate # windows\n```\n\n### Install the dependencies\n\n```bash\npip install --upgrade pip wheel\npip install -r requirements.txt\n```\n\n### Set the environment variables\n\n```bash\nexport FLASK_APP=app.py FLASK_ENV=development # linux/macOS\n```\n\n```bash\nset FLASK_APP=app.py FLASK_ENV=development # windows\n```\n\n### Optional environment variables\n\n```bash\nexport FLASK_DEBUG=1 # linux/macOS\n```\n\n```bash\nset FLASK_DEBUG=1 # windows\n```\n\n### Run the application\n\n```bash\nflask run --host=0.0.0.0 --port=5000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizanf33%2Fopenprompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaizanf33%2Fopenprompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizanf33%2Fopenprompt/lists"}