Dify External Knowledge API for searching CodeAlive repositories and workspaces
knowledge_id must be the ID of a repository or workspace from your CodeAlive account.
You can copy the ID from the CodeAlive UI:
"67f664fd4c2a00698a52bb6f")https://app.codealive.ai/api/knowledge-retrieval/dify/retrievalAuthorization header as Bearer YOUR_API_KEYknowledge_idOptimize Retrieval Quality
score_threshold to 0.7-0.8 for balanced resultstop_k between 3-10 for most use casesUse Metadata Filtering
Handle Results Effectively