by xiaobao · v0.0.1
This plugin helps manage Yinxiang Note, providing notebook list retrieval and note creation features for efficient information recording.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
The Yinxiangnote Management Plugin provides seamless integration between Dify and Yinxiangnote, allowing users to easily manage notes and notebooks within workflows. This plugin supports core functionalities such as retrieving notebook lists and creating new notes, helping users efficiently manage knowledge content in automated workflows.
This plugin includes the following tools:
Install the Plugin
Configure Authentication
Obtain Developer Token:
- Chinese users: Visit https://app.yinxiang.com/api/DeveloperToken.action
Function: Retrieves all notebooks from the user's Yinxiangnote account
Parameters: None
Return Result: A JSON array containing all notebook information, each notebook includes the following fields:
guid: Unique notebook identifiername: Notebook namedefaultBook: Whether it's the default notebookFunction: Creates a new note in a specified notebook or the default notebook
Parameters:
title: Note title (required)content: Note content (required)book_name: Notebook name (optional, uses default notebook if not specified)Return Result: A JSON object containing the GUID of the newly created note
title: "New Project Plan"content: "This is a detailed project plan containing all tasks and goals for Q1."book_name: "Work Notes"Issue: Failed to retrieve notebook list Solution: Check if your developer token is valid and your network connection is normal
Issue: Failed to create note Solution: Ensure the title and content are not empty, and that the specified notebook name exists
To set up the plugin for local development:
# Install dependencies
pip install -r requirements.txt
To debug the plugin remotely with Dify:
Get Debugging Credentials
Configure Environment Variables
.env.example to create a new .env file:
cp .env.example .env
.env and fill in the debugging credentials:
INSTALL_METHOD=remote
REMOTE_INSTALL_URL=debug.dify.ai:5003
REMOTE_INSTALL_KEY=********-****-****-****-************
Start Debug Server
python -m main
Access the Plugin
To package the plugin for deployment:
# Package the plugin
dify plugin package ./yinxiangnote