Welcome to the GLM API Model Beginner's Warehouse in Exploration 📘。 This is an open-source GLM API introductory code textbook.
Here, you will find rich code examples 👨,Practical Guide 🗺 And resource links 🔗, Perhaps it can help you easily master the use of GLM API!
- 🔥🔥 2024-10-10: This CookBook has been updated with the Video Understanding Tutorial, allowing you to understand a video directly without splitting it into multiple images.
- 🔥 2024-10-01: This CookBook has been updated with
the Multi-Tool Invocation Tutorial. Please update the dependencies
in
requirements.txt
. Feel free to check it out. - 🔥 2024-09-26: This CookBook has been updated with the GraphRAG Tutorial. You are welcome to explore it.
- 🌱 2024-03-06: The organization MetaGLM has updated SDKs in 4 languages (Python, Java, C#, Node.js). Feel free to provide feedback and contribute to the project through PR!
-
To start using the GLM API, you first need a GLM API account and the corresponding API key. If you don’t have an account yet, you can register for free here.
-
My code is based on Python, Jupyter Note, but the same concept can be applied to other programming languages (but you may have to implement it yourself). These code examples are intended to help me (and perhaps you) how to use the GLM API efficiently to complete common simple tasks. It is recommended to use
Python 3.9 - 3.12
version (my own is Python 3.10). You need to install the necessary dependencies to better use the Demo. You can use the following command to install total dependencies:
pip install -r requirements.txt
- By the way, I usually use ✅GLM4 to complete tasks. I also recommend you to use this model!
I have classified multiple folders, each of which has its own content. You can view it according to your needs!
-
🌱
basic
The most basic content is just a successful call. -
👁️
vision
About multi-modal calls and basic applications. -
🔧
finetune
Maybe you can come here to find fine-tuning content? -
🎉
demo
Some interesting demos, which may inspire some inspiration.- 🤖
agent
Let’s see how powerful the agent at the press conference is! - 📚
data
The data needed to run the demo.
- 🤖
-
📊
glms
GLMs (Zhipu Qingyan) area, even if you don’t know how to code, you can quickly get started! -
🏠
asset
Some related picture information.
You can quickly understand the structure of this warehouse through the following pictures. I will update the latest experiments and teaching content of Zhipu AI SDK as soon as possible.
The GLM-4 series SDK has been open source. If you want to make modifications directly on our SDK, you can make the modifications at the following address:
- Python SDK
- Java SDK
- C# SDK
- Node.js SDK
- If you have SDKs in other languages that you would like to contribute to the official repository, please submit a PR.
Everyone is welcome to contribute your own ideas and code! If you have any suggestions or want to add your own code, please feel free to submit a Pull Request or open an Issue for discussion. If you like this repository, feel free to give it a ⭐, it will help me a lot!