Classify v2 fake, agent_data.create migration, downstream copier updates (#268)

This commit is contained in:
Adrian Lyjak
2026-04-22 21:34:28 -04:00
committed by GitHub
parent 1586d01342
commit 1996e895da
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
[project]
name = "extraction-review"
name = "extract-basic"
version = "0.1.0"
description = "Extracts data"
readme = "README.md"
@@ -12,7 +12,7 @@ dependencies = [
"httpx>=0.28.1",
"llama-index-core>=0.14.0",
"respx>=0.22.0,<1",
"llama-cloud>=2.3.0,<3",
"llama-cloud>=2.4.1,<3",
"json-schema-to-pydantic>=0.4.8",
]
@@ -35,6 +35,9 @@ dev = [
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/extraction_review"]
[tool.hatch.envs.default.scripts]
"format" = "ruff format ."
"format-check" = "ruff format --check ."
+1 -1
View File
@@ -224,7 +224,7 @@ class ProcessFileWorkflow(Workflow):
f"Removed {delete_result.deleted_count} existing record(s) "
f"for file {extracted_data.file_name}"
)
item = await llama_cloud_client.beta.agent_data.agent_data(
item = await llama_cloud_client.beta.agent_data.create(
data=data_dict,
deployment_name=agent_name or "_public",
collection=EXTRACTED_DATA_COLLECTION,