# Create a new knowledge base with files
kb_client = kb_client.create_kb(
name="my_knowledge_base", # Choose a unique name
file_paths=["path/to/file1.txt", "path/to/file2.txt"] # List of file paths to include
)
# The created KB will have an ID and list of files
print(f"Created KB: {kb_client.kb.id} with name: {kb_client.kb.name}")
print(f"Number of files: {len(kb_client.kb.files)}")