Molyleaf / GPT_CodeInterpreter

Python code interpreter implemented using OpenAI API key,with Chainlit and GPT-4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT_CodeInterpreter Project πŸ€–

GPT_CodeInterpreter is an AI-driven project designed to carry out various tasks related to code interpretation. It is built on a plugin architecture that can easily extend new features.

Update Log πŸ“

Our update logs are stored in the update directory. You can click on the links below to view specific updates:

Please check back regularly for our latest updates!

Welcome to my project! πŸ‘‹

I'm glad to introduce you to a project I've been working on. It's a chatbot hosted at this link.

How to Use πŸ“š

To get started, visit the https://chat.zhipenglu.repl.co and type in your query or command. Here are some commands you can use:

  • /set_api_key - Set your OPENAI_API_KEY πŸ”‘
  • /set_model - Set your OPENAI_MODEL πŸ€–
  • /set_language - Set your language 🌍
  • /set_api_base - Set your OPENAI_API_BASE 🌐
  • /help - Show this help πŸ“˜

Enjoy! πŸŽ‰

I hope you find this chatbot useful and fun to use. Enjoy!

πŸ“£ Feedback & Support

πŸ”§ Test Website Status: The test website is hosted on Replit and was set up in a hurry. As such, it might experience occasional downtime or restarts. Rest assured, I'm actively working on improving its stability over time.

πŸ“¬ Encountered an Issue? If the test website is down or if you encounter any issues, please don't hesitate to open an issue. I'll do my best to address it as promptly as possible.

πŸ’‘ Suggestions or Feedback? Your thoughts matter! If you have any suggestions or feedback, I'm all ears. Please share your ideas by opening an issue. I strive to respond and incorporate valuable feedback as quickly as I can.

Thank you for your understanding and support! πŸ™

Pictures About GPT_CodeInterpreter

20230726150533

image

image

Video Demonstrations πŸŽ₯

07134.1.mp4

Project Features

  • Plugin Architecture: GPT_CodeInterpreter uses a flexible and extensible plugin architecture. Each plugin is a folder containing functions.py and config.json files, defining the functionality and configuration of the plugin.

🌟 Upcoming Features:

  • Official Plugin IntegrationπŸ”Œ: By processing the provided standard openapi.yaml from the official sources, we can automatically fetch the corresponding request URLs and method names. These will be combined with local functions and sent to GPT as if invoking local features. Upon user invocation, we'll categorize and request the respective API, ensuring real-time and precise feedback.

  • Role Masking🎭: We've integrated numerous role-based features within our local plugins. For instance, the newly added Vue plugin can be used to modify local Vue projects effortlessly.

  • Join the Movement🀝: We're actively inviting passionate individuals to collaborate with us on this project! Let's move towards a "metaGPT" future and co-develop an array of fascinating role plugins.

🌈 Future Plans:

  • Multi-client InteractionsπŸ”—: When running multiple clients, we aspire for these clients to exchange messages, facilitating data transfer amongst different roles.

    Preliminary ConceptπŸ’‘:

    • Server-sideβš™οΈ: Operated by a GPT-4 "Administrator" preset role, its main duties will encompass assigning tasks based on users' "Role Masks" and preset objectives, and subsequently evaluating task completion rates.

    • Client-sideπŸ–₯️: Users can autonomously register with the server and will then be able to receive dispatched tasks and feedback on task completion rates. It can execute certain tasks autonomously and also supports interaction via a web chat interface to accomplish associated tasks.

Let's look forward to the limitless possibilities these new features can offer! πŸš€πŸŽ‰

  • Function Manager: The function manager is responsible for parsing and calling the functions defined in the functions.py file of each plugin.

  • AI Driven: GPT_CodeInterpreter leverages the power of AI to understand and generate human language, enabling it to handle a variety of tasks related to code interpretation.

Current Plugins

  1. General Plugin: This plugin provides the functionality of displaying and uploading images.

  2. Python Interpreter Plugin: This plugin includes a Python executor for running Python code, which is very useful for tasks such as data analysis and table processing.

  3. Vue Plugin: Currently under development, this plugin is designed to work with Vue projects, automating the entire Vue project modification through the chat interface.

Documentation

To get started with GPT_CodeInterpreter, please refer to the following documentation:

Contributing

Contributions are welcome! Please read the contribution guide to learn how to contribute to this project.

Contact

For any inquiries or collaboration opportunities, you can reach me via email at 402087139@qq.com. πŸ“§

License

This project is licensed under the terms of the MIT license. πŸ“œ

This README now includes the link to the env.md file, indicated with the "Understanding Environment Variables" section. It also features an emoji flag (πŸ”‘) to highlight the importance of configuring environment variables for the project. If you have any more requests or need further assistance, please let me know!

About

Python code interpreter implemented using OpenAI API key,with Chainlit and GPT-4


Languages

Language:Python 97.2%Language:HTML 2.4%Language:Nix 0.4%