Skip to content

v0.44.0

Compare
Choose a tag to compare
@deepsearch-ops deepsearch-ops released this 07 May 13:26
· 19 commits to main since this release

Feature

  • Use new sem index, gen ctx extractors (#174) (cde4183)

ℹ️ Breaking changes

  • CorpusRAGQuery and DocumentRAGQuery replaced by RAGQuery
  • CorpusSemanticQuery and DocumentSemanticQuery replaced by SemanticQuery
  • semantic_ingest, RAGQuery, and SemanticQuery all require a data_source: deepsearch.cps.client.components.documents.DataSource (check deepsearch-examples for usage samples)
  • the above now return a CPSTask which does not contain the project key, so invocations of api.tasks.wait_for should be updated accordingly — to sth like api.tasks.wait_for(EXPLICIT_PROJ_KEY, task.task_id)
  • RAGResult / SearchResult:
    • passage renamed to chunk
    • path_in_doc replaced by main_path (+ path_group)
    • RAGGroundingInfo.items renamed to RAGGroundingInfo.retr_items