MCPcopy Create free account

hub / github.com/run-llama/llama_cloud_services / functions

Functions785 in github.com/run-llama/llama_cloud_services

↓ 2 callersFunction_validate_schema
Convert SchemaInput to a validated JSON schema dictionary.
py/llama_cloud_services/extract/extract.py:93
↓ 2 callersFunction_wait_for_job_result
Wait for and return the results of an extraction job.
py/llama_cloud_services/extract/extract.py:113
↓ 2 callersMethod_wait_for_job_result
Wait for and return the results of an extraction job.
py/llama_cloud_services/extract/extract.py:773
↓ 2 callersMethod_wait_for_resources
Poll `get_status_fn` until every id in `resource_ids` is finished. Args: resource_ids: Iterable of resource ids to watch
py/llama_cloud_services/index/base.py:168
↓ 2 callersMethodaclose
Close all HTTP clients (async)
py/llama_cloud_services/beta/sheets/client.py:541
↓ 2 callersMethodacreate_classify_job
Create a classify job. Meant to expose lower level access to classifier jobs for advanced use cases. Experimental: This endpo
py/llama_cloud_services/beta/classifier/client.py:75
↓ 2 callersMethodacreate_job
Create a new spreadsheet parsing job. Args: file_id: ID of the uploaded file config: Parsing configuration R
py/llama_cloud_services/beta/sheets/client.py:301
↓ 2 callersMethodadownload_region_as_dataframe
Download a region result as a pandas DataFrame. Args: job_id: ID of the job region_id: ID of the region r
py/llama_cloud_services/beta/sheets/client.py:489
↓ 2 callersMethodaextract
Asynchronously extract data from one or more files using this agent. Args: files (Union[FileInput, List[FileInput]]): The files t
py/llama_cloud_services/extract/extract.py:402
↓ 2 callersMethodaget_assets
Download assets (images or charts) from the parsed result.
py/llama_cloud_services/parse/base.py:1701
↓ 2 callersMethodaget_images
Download images from the parsed result.
py/llama_cloud_services/parse/base.py:1754
↓ 2 callersMethodaget_job
Get the status of a spreadsheet parsing job. Args: job_id: ID of the job include_results_metadata: Whether to include
py/llama_cloud_services/beta/sheets/client.py:353
↓ 2 callersMethodaget_markdown
Get the raw parsed markdown from the job, distinct from the markdown documents. This does not include page separators, e.g. if merge_
py/llama_cloud_services/parse/types.py:483
↓ 2 callersMethodaget_result
Return JobResult object for previously parsed job(s). If the job is still pending, the result will not be returned until it is compl
py/llama_cloud_services/parse/base.py:1878
↓ 2 callersMethodaget_text
Get the raw parsed text from the job.
py/llama_cloud_services/parse/types.py:501
↓ 2 callersFunctionapage_screenshot_nodes_to_node_with_score
( client: AsyncLlamaCloud, raw_image_nodes: Optional[List[PageScreenshotNodeWithScore]], project_i
py/llama_cloud_services/index/api_utils.py:344
↓ 2 callersMethodasQueryEngine
(params?: QueryEngineParams)
ts/llama_cloud_services/src/LlamaCloudIndex.ts:266
↓ 2 callersMethodasQueryTool
(params: QueryEngineParams & QueryToolParams)
ts/llama_cloud_services/src/LlamaCloudIndex.ts:278
↓ 2 callersMethodasRetriever
(params: CloudRetrieveParams = {})
ts/llama_cloud_services/src/LlamaCloudIndex.ts:262
↓ 2 callersMethodasave_all_images
Save all images to files. Args: output_dir: The directory to save the images to Returns: A list of
py/llama_cloud_services/parse/types.py:790
↓ 2 callersMethodaupdate_retriever_pipelines
( self, pipelines: List[RetrieverPipeline] )
py/llama_cloud_services/index/composite_retriever.py:148
↓ 2 callersMethodaupload_file
Upload a file to the Files API. Args: file_obj: File to upload (path, bytes, or file-like object) file_name: Optional
py/llama_cloud_services/beta/sheets/client.py:274
↓ 2 callersMethodaupload_file
Upload a file to the index.
py/llama_cloud_services/index/base.py:969
↓ 2 callersMethodaupload_file_from_url
Upload a file from a URL to the index.
py/llama_cloud_services/index/base.py:1044
↓ 2 callersMethodawait_for_completion
Wait for a job to complete by polling. Args: job_id: ID of the job to wait for Returns: SpreadsheetJobResult
py/llama_cloud_services/beta/sheets/client.py:390
↓ 2 callersMethodclassify
Classify one or more files from various input types (synchronous version). Args: rules: The rules to use for classificat
py/llama_cloud_services/beta/classifier/client.py:220
↓ 2 callersMethodclassify_file_ids
( self, rules: list[ClassifierRule], file_ids: list[str], parsing_configuratio
py/llama_cloud_services/beta/classifier/client.py:153
↓ 2 callersFunctioncreateAgentDataClient
({ client = defaultClient, windowUrl, env, deploymentName, agentUrlId, collection = "default", }:
ts/llama_cloud_services/src/beta/agent/client.ts:289
↓ 2 callersFunctioncreateExtractJob
( options: | Options<RunJobApiV1ExtractionJobsPostData> | Options<ExtractStatelessApiV1ExtractionRun
ts/llama_cloud_services/src/extract.ts:214
↓ 2 callersFunctioncreate_agent_with_retry
Create an extraction agent with retry logic for rate limiting.
py/tests/extract/conftest.py:31
↓ 2 callersFunctiondefault_transform_config
()
py/llama_cloud_services/index/api_utils.py:50
↓ 2 callersMethoddelete_extraction_run
Delete an extraction run by ID. Args: run_id (str): The ID of the extraction run to delete
py/llama_cloud_services/extract/extract.py:474
↓ 2 callersFunctionextract_tables_from_json_results
( json_results: List[dict], download_path: str )
py/llama_cloud_services/parse/utils.py:371
↓ 2 callersMethodfetchBase64FromPresignedUrl
(url: string)
ts/llama_cloud_services/src/LlamaCloudRetriever.ts:55
↓ 2 callersMethodgetAgent
( name: string | undefined = undefined, id: string | undefined = undefined, project_id: string | n
ts/llama_cloud_services/src/LlamaExtract.ts:128
↓ 2 callersFunctiongetExtractionAgentApiV1ExtractionExtractionAgentsExtractionAgentIdGet
( options: Options< GetExtractionAgentApiV1ExtractionExtractionAgentsExtractionAgentIdGetData,
ts/llama_cloud_services/src/client/sdk.gen.ts:3719
↓ 2 callersFunctiongetJobApiV1ParsingJobJobIdGet
( options: Options<GetJobApiV1ParsingJobJobIdGetData, ThrowOnError>, )
ts/llama_cloud_services/src/client/sdk.gen.ts:2795
↓ 2 callersFunctiongetJobJsonResultApiV1ParsingJobJobIdResultJsonGet
( options: Options< GetJobJsonResultApiV1ParsingJobJobIdResultJsonGetData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:3028
↓ 2 callersFunctiongetJobResult
( jobId: string, client: Client | undefined = undefined, project_id: string | null = null, organizatio
ts/llama_cloud_services/src/extract.ts:312
↓ 2 callersMethodgetJobResult
* Retrieves the result of a parsing job. * * Uses a polling loop with retry logic. Each API call is retried * up to maxErrorCount times if it
ts/llama_cloud_services/src/reader.ts:474
↓ 2 callersFunctiongetJobResultApiV1ParsingJobJobIdResultMarkdownGet
( options: Options< GetJobResultApiV1ParsingJobJobIdResultMarkdownGetData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:2997
↓ 2 callersFunctiongetJobTextResultApiV1ParsingJobJobIdResultTextGet
( options: Options< GetJobTextResultApiV1ParsingJobJobIdResultTextGetData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:2879
↓ 2 callersFunctiongetPipelineId
( name: string, projectName: string, organizationId?: string, )
ts/llama_cloud_services/src/utils.ts:79
↓ 2 callersFunctiongetPipelineStatusApiV1PipelinesPipelineIdStatusGet
( options: Options< GetPipelineStatusApiV1PipelinesPipelineIdStatusGetData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:1555
↓ 2 callersFunctiongetUrl
( baseUrl: string | undefined, region: string | undefined, )
ts/llama_cloud_services/src/utils.ts:127
↓ 2 callersMethodget_item
(self, item_id: str)
py/llama_cloud_services/beta/agent_data/client.py:164
↓ 2 callersMethodget_job
Get the status of a spreadsheet parsing job. Args: job_id: ID of the job include_results_metadata: Whether to include
py/llama_cloud_services/beta/sheets/client.py:176
↓ 2 callersMethodget_json_result
Parse the input path.
py/llama_cloud_services/parse/base.py:1679
↓ 2 callersFunctionmake_group
( group_key: Dict[str, Any], first_item: Optional[Dict[str, Any]], count: Optional[int] = None, )
py/unit_tests/beta/agent/test_agent_data_client_with_mocks.py:99
↓ 2 callersFunctionparse
Parse files using LlamaParse and output the results.
py/llama_cloud_services/parse/cli/main.py:50
↓ 2 callersFunctionpollForJobCompletion
( jobId: string, interval: number = 1, maxIterations: number = 1800, client: Client | undefined = unde
ts/llama_cloud_services/src/extract.ts:279
↓ 2 callersMethodpython_package_name
(self)
scripts/changeset-version.py:58
↓ 2 callersFunctionregister_agent_for_cleanup
Register an agent ID for cleanup at the end of the test session
py/tests/extract/conftest.py:77
↓ 2 callersFunctionresolve_pipeline
( client: LlamaCloud, pipeline_id: Optional[str], project: Optional[Project], pipeline_name: O
py/llama_cloud_services/index/api_utils.py:105
↓ 2 callersFunctionresolve_project
( client: LlamaCloud, project_name: Optional[str], project_id: Optional[str], organization_id:
py/llama_cloud_services/index/api_utils.py:84
↓ 2 callersFunctionresolve_project_and_pipeline
( client: LlamaCloud, pipeline_name: Optional[str], pipeline_id: Optional[str], project_name:
py/llama_cloud_services/index/api_utils.py:130
↓ 2 callersFunctionrun_in_thread
Run coroutine in a thread with proper client management.
py/llama_cloud_services/extract/extract.py:170
↓ 2 callersMethodsearch
* Search agent data
ts/llama_cloud_services/src/beta/agent/client.ts:138
↓ 2 callersMethodsearch
Search agent data with filtering, sorting, and pagination. Args: filter: Filter conditions to apply to the search. Dict m
py/llama_cloud_services/beta/agent_data/client.py:213
↓ 2 callersMethoduntyped_aggregate
( self, filter: Optional[Dict[str, Dict[ComparisonOperator, Any]]] = None, group_by: O
py/llama_cloud_services/beta/agent_data/client.py:318
↓ 2 callersMethoduntyped_search
( self, filter: Optional[Dict[str, Dict[ComparisonOperator, Any]]] = None, order_by: O
py/llama_cloud_services/beta/agent_data/client.py:254
↓ 2 callersMethodupdate_retriever_pipelines
( self, pipelines: List[RetrieverPipeline] )
py/llama_cloud_services/index/composite_retriever.py:97
↓ 2 callersFunctionuploadFileApiV1FilesPost
( options: Options<UploadFileApiV1FilesPostData, ThrowOnError>, )
ts/llama_cloud_services/src/client/sdk.gen.ts:1262
↓ 2 callersFunctionuploadFileApiV1ParsingUploadPost
( options?: Options<UploadFileApiV1ParsingUploadPostData, ThrowOnError>, )
ts/llama_cloud_services/src/client/sdk.gen.ts:2765
↓ 2 callersFunctionupsertBatchPipelineDocumentsApiV1PipelinesPipelineIdDocumentsPut
( options: Options< UpsertBatchPipelineDocumentsApiV1PipelinesPipelineIdDocumentsPutData, Thro
ts/llama_cloud_services/src/client/sdk.gen.ts:2234
↓ 2 callersMethodwaitForDocumentIngestion
( docIds: string[], verbose = false, raiseOnError = false, )
ts/llama_cloud_services/src/LlamaCloudIndex.ts:91
↓ 2 callersMethodwaitForPipelineIngestion
( verbose = false, raiseOnError = false, )
ts/llama_cloud_services/src/LlamaCloudIndex.ts:47
↓ 1 callersFunction_calculate_overall_confidence_recursive
Calculate the overall confidence score for the extracted data.
py/llama_cloud_services/beta/agent_data/schema.py:535
↓ 1 callersMethod_create_job
( self, file_input: FileInput, extra_info: Optional[dict] = None, fs: Optional
py/llama_cloud_services/parse/base.py:725
↓ 1 callersFunction_get_job
()
py/llama_cloud_services/extract/extract.py:133
↓ 1 callersFunction_get_pnpm_workspace_packages
Return directories for all workspace packages from pnpm list JSON output.
scripts/changeset-version.py:64
↓ 1 callersMethod_get_sub_docs
Split docs into pages, by separator.
py/llama_cloud_services/parse/base.py:1863
↓ 1 callersMethod_is_input_url
Check if the input is a valid URL. This method checks for: - Proper URL scheme (http/https) - Valid URL structure - N
py/llama_cloud_services/parse/base.py:692
↓ 1 callersMethod_is_s3_url
Check if the input is a valid URL. This method checks for: - Proper S3 scheme (s3://)
py/llama_cloud_services/parse/base.py:714
↓ 1 callersFunction_make_request
(url: str, **httpx_kwargs: Any)
py/llama_cloud_services/parse/utils.py:294
↓ 1 callersFunction_parse_extracted_field_metadata_recursive
Parse the extracted field metadata into a dictionary of field names to field metadata.
py/llama_cloud_services/beta/agent_data/schema.py:265
↓ 1 callersMethod_parse_one_partitioned
Partition a file and run separate parse jobs per partition segment.
py/llama_cloud_services/parse/base.py:1301
↓ 1 callersFunction_run_and_capture
Run a command and return stdout as text, raising on failure.
scripts/changeset-version.py:37
↓ 1 callersFunction_sync_package_version_with_pyproject
Sync version from package.json to pyproject.toml. Returns True if pyproject was changed, else False.
scripts/changeset-version.py:76
↓ 1 callersMethod_validate
Ensure filename is provided when needed.
py/llama_cloud_services/utils.py:163
↓ 1 callersMethod_wait_for_job_result
Wait for and return the results of an extraction job.
py/llama_cloud_services/extract/extract.py:313
↓ 1 callersMethodaclassify_file_path
Deprecated: Use aclassify() instead.
py/llama_cloud_services/beta/classifier/client.py:259
↓ 1 callersMethodaclassify_file_paths
Deprecated: Use aclassify() instead.
py/llama_cloud_services/beta/classifier/client.py:297
↓ 1 callersMethodaddDocuments
(documents: Document[], verbose?: boolean)
ts/llama_cloud_services/src/LlamaCloudIndex.ts:202
↓ 1 callersFunctionaddFilesToPipelineApiApiV1PipelinesPipelineIdFilesPut
( options: Options< AddFilesToPipelineApiApiV1PipelinesPipelineIdFilesPutData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:2022
↓ 1 callersMethodaget_charts
Download charts from the parsed result.
py/llama_cloud_services/parse/base.py:1767
↓ 1 callersMethodaget_json
Get the full parsed JSON result from the job. Note: This is not the same as JobResult.json(), which is a JSO
py/llama_cloud_services/parse/types.py:519
↓ 1 callersMethodaget_markdown_documents
Get the markdown documents from the job. Args: split_by_page: Whether to split the pages into separate documents
py/llama_cloud_services/parse/types.py:445
↓ 1 callersFunctionaget_page_figure
( client: AsyncLlamaCloud, file_id: str, page_index: int, figure_name: str, project_id: st
py/llama_cloud_services/index/api_utils.py:240
↓ 1 callersFunctionaget_page_screenshot
Get the page screenshot (async).
py/llama_cloud_services/index/api_utils.py:225
↓ 1 callersMethodaget_text_documents
Get the documents from the job. Args: split_by_page: Whether to split the pages into separate documents
py/llama_cloud_services/parse/types.py:368
↓ 1 callersMethodaget_xlsx
Download xlsx from the parsed result.
py/llama_cloud_services/parse/base.py:1810
↓ 1 callersMethodaget_xlsx_data
Get the XLSX data for the job. Returns: The XLSX data as bytes
py/llama_cloud_services/parse/types.py:725
↓ 1 callersMethodaggregate
* Aggregate agent data into groups
ts/llama_cloud_services/src/beta/agent/client.ts:185
↓ 1 callersMethodaggregate
Aggregate agent data into groups according to the group_by fields. Args: filter: Filter conditions to apply to the search
py/llama_cloud_services/beta/agent_data/client.py:273
↓ 1 callersFunctionaggregateAgentDataApiV1BetaAgentDataAggregatePost
( options: Options< AggregateAgentDataApiV1BetaAgentDataAggregatePostData, ThrowOnError >, )
ts/llama_cloud_services/src/client/sdk.gen.ts:3946
↓ 1 callersMethodaggregate_agent_data_api_v_1_beta_agent_data_aggregate_post
( self, *, deployment_name: str, collection: str, page_size: Optional[
py/unit_tests/beta/agent/test_agent_data_client_with_mocks.py:56
↓ 1 callersMethodainsert
Insert a document.
py/llama_cloud_services/index/base.py:762
↓ 1 callersFunctionapage_figure_nodes_to_node_with_score
( client: AsyncLlamaCloud, raw_figure_nodes: Optional[List[PageFigureNodeWithScore]], project_id:
py/llama_cloud_services/index/api_utils.py:401
↓ 1 callersFunctionbuild_url
( base_url: str, organization_id: Optional[str], project_id: Optional[str] )
py/llama_cloud_services/parse/base.py:54
← previousnext →101–200 of 785, ranked by callers