Giter Site home page Giter Site logo

worldwonderer / gpt_algo Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 0.0 7.96 MB

利用 GPT-4 的代码理解能力,为 LeetCode 算法题提供高质量的题解和解答说明

Home Page: https://algo.pitechan.com/problems

License: MIT License

Python 0.04% HTML 99.94% CSS 0.03%
flask gpt leetcode

gpt_algo's Introduction

GPT Algo

GPT Algo 利用 GPT-4 的代码理解能力,为 LeetCode 算法题提供高质量的题解和解答说明。

在线演示

你可以通过访问以下网址查看 GPT Algo 的在线演示:

演示站点

快速上手

  1. 克隆仓库到本地:
git clone https://github.com/worldwonderer/gpt_algo.git
  1. 进入项目目录:
cd gpt_algo
  1. 安装所需的Python依赖:
pip install -r requirements.txt
  1. 环境变量:
# redis 点赞、点踩计数存储
REDIS_HOST=<your_redis_host>
REDIS_PORT=<your_redis_port>
REDIS_DB=<your_redis_db>
REDIS_PASS=<your_redis_password>

# mongodb 题解存储,mongodb://,数据集暂时没找到合适的共享方式,可联系我提供
MONGODB_HOST=<your_mongodb_host>

# (可选)dify 题目模糊搜索,基于 dify 知识库 + GPT-3.5
DIFY_API_KEY=<your_dify_api_key> 
  1. 运行Flask应用:
python debug.py
  1. 在浏览器中访问 http://localhost:5000 即可使用GPT Algo。

贡献

欢迎对 GPT Algo 项目做出贡献!如果你发现了任何问题或有改进建议,请在 GitHub 上提交 Issue 或 Pull Request。

目前已发现部分题解不符合题目规范,可参阅 无效题解列表

许可证

GPT Algo 项目采用 MIT 许可证,详情请参阅 LICENSE 文件。

联系方式

如果你有任何问题或建议,欢迎通过以下方式联系我:

邮箱: [email protected]

gpt_algo's People

Contributors

worldwonderer avatar dependabot[bot] avatar

Stargazers

kursk avatar Xinran Wang avatar  avatar junnan liu avatar  avatar Noctis avatar Liloupar avatar nixiaobai avatar ultraman avatar  avatar  avatar SLIGHTLEE avatar  avatar lyy0709 avatar  avatar 梦天 avatar  avatar morning-star avatar  avatar Monday avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.