This page is under construction and will be avaialble soon

DISCLAIMER, the bellow doc is not working

1

Create an Account

Create an account with Simba cloud . It’s free!

If you want to deploy locally, please refer here

2

Install the SDK

Only Python is available with the SDK, you can install it via pip

Python
pip install simba-client
3

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

SIMBA_API_KEY="sb-..." 
4

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)