Replies: 1 comment
-
My program gets stuck at this step: yield self.create_text_message() and returns an error message at the end, it is strange that the message can be generated successfully |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
hello, I am developing my "file_process" plugins, which is used to split my document by titles and appendixs. The question is my documet can be processed suessfully but it would return something worng like 'Exception: Connection is closed'
2. Additional context or comments
my program:
from collections.abc import Generator
from typing import Any, List
from dify_plugin import Tool
from dify_plugin.entities.tool import ToolInvokeMessage
from io import BytesIO
from dify_plugin.file.file import File
from docx import Document
from docx.oxml.text.paragraph import CT_P
from docx.oxml.table import CT_Tbl
from docx.text.paragraph import Paragraph
from docx.table import Table
import tiktoken
class DocSplitterTool(Tool):
OUTPUT

Beta Was this translation helpful? Give feedback.
All reactions