Replies: 1 comment
-
|
Hey @flyfrogzc! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together! To obtain the
Unfortunately, the specific method to directly obtain the If you continue to face issues, consider checking the API's response for any status or error messages that might provide more insight into the processing state. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Dify version
0.15.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I am currently using the interface to upload a knowledge base. Each knowledge base entry looks like {“name1”, “text1”, source: “[url1, url2…]”} , {“name1”, “text2”, source: “[url1, url2…]”}.
At the moment, I pass “name1” using the create-by-text endpoint, and I pass “name2” using the “/datasets/{DATASET_ID}/documents/{{document_id}}/segments” endpoint.
When retrieving data, I can obtain the id of name2 through its segment_id. How can I obtain the segment_id for name1?
In fact, I want to associate each {“name”, “text”} entry with a unique id and source. There is also a bug: when writing a segment, I must call sleep(2). Even though I obtain the document_id, if I don’t wait, the service still reports an error.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Beta Was this translation helpful? Give feedback.
All reactions