Repository navigation
feat: add runnable LlamaIndex search and extraction example - #806
Open
acedatacloud-dev wants to merge 1 commit into
Open
acedatacloud-dev wants to merge 1 commit into
acedatacloud-dev wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users can already call Ace search and extraction APIs, but the SDK has no runnable LlamaIndex workflow. Add a bilingual example that wraps the published SDK in
FunctionTool, converts completed extraction results intoDocument, and retrieves passages with source URLs through a local keyword index.The CLI defaults to synthetic offline responses. Live calls require explicit
--live, are limited to one search and 1–3 extractions, disable retries and LLM enrichment, and preserve task/trace IDs. Pending, failed or empty extraction responses cannot enter the index. An optional official LlamaIndex MCP client command only lists the hosted Serp tool schemas and requires the user's Bearer token.Validation:
acedatacloud==2026.10.12.0,llama-index-core==0.14.25: offline workflow and 8 example tests pass.tools/listthroughllama-index-tools-mcp==0.6.0/mcp==2.3.0returned 11 tools. No search tool or billable API executed.CGO_ENABLED=1 go test -ldflags=-linkmode=external ./...(macOS Go 1.21's default linker failed before tests).The new CI workflow installs public dependencies and uses normal example-test discovery. PyPI file-CDN access failed on this machine; the tested versions were installed from a mirror. No new integration package, model/provider, billing change or official-directory submission is added. Example source/CI, package publication, official listing, paid first call, billing and attribution remain separate acceptance stages.
No additional adversarial review was requested. Merge is reserved for human review; no paid validation has been run.