This page is under construction and will be avaialble soon DISCLAIMER, the bellow doc is not working
Create an Account
Create an account with Simba cloud . It’s free! If you want to deploy locally, please refer here
Install the SDK
Only Python is available with the SDK, you can install it via pip Generate API Key
After signing into Simba cloud, click create new API KEY Adjust the caption and image of your Frame component here.
make sure to create a .env file Basic usage
from simba_sdk import SimbaClient
client = SimbaClient(api_url="http://simba.cloud.api:8000")
document = client.documents.create(file_path="path/to/your/document.pdf")
document_id = document[0]["id"]
parsing_result = client.parser.parse_document(document_id,parser="docling", sync=True)
retrieval_results = client.retriever.retrieve(query="your-query")
for result in retrieval_results["documents"]:
print(f"Content: {result['page_content']}")
print(f"Metadata: {result['metadata']['source']}")
print("====" * 10)