import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
chunk = client.knowledge_bases.artifacts.chunks.delete(
chunk_id="chunk_id",
knowledge_base_id="knowledge_base_id",
artifact_id="artifact_id",
)
print(chunk.artifact_id){
"deleted": true,
"artifact_id": "<string>",
"chunk_id": "<string>"
}import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
chunk = client.knowledge_bases.artifacts.chunks.delete(
chunk_id="chunk_id",
knowledge_base_id="knowledge_base_id",
artifact_id="artifact_id",
)
print(chunk.artifact_id){
"deleted": true,
"artifact_id": "<string>",
"chunk_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
Use this file to discover all available pages before exploring further.