LlamaIndex

LlamaIndex provides document parsing, structured extraction and indexing services alongside an open-source framework for document-grounded AI applications

Originaltext der Quelle · EN

In Aktion ansehen

Anwendungsbeispiel

LlamaIndex: call a calculator with a local model

The complete local starter uses Ollama llama3.1 to select a multiplication tool. Its 5,635,678 answer is the guide’s illustrative output. Install the model and integrations first; the source lists an approximately 32 GB RAM prerequisite.

Beispieleingabe

import asyncio
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.ollama import Ollama


# Define a simple calculator tool
def multiply(a: float, b: float) -> float:
    """Useful for multiplying two numbers."""
    return a * b


# Create an agent workflow with our calculator tool
agent = FunctionAgent(
    tools=[multiply],
    llm=Ollama(
        model="llama3.1",
        request_timeout=360.0,
        # Manually set the context window to limit memory usage
        context_window=8000,
    ),
    system_prompt="You are a helpful assistant that can multiply two numbers.",
)


async def main():
    # Run the agent
    response = await agent.run("What is 1234 * 4567?")
    print(str(response))


# Run the agent
if __name__ == "__main__":
    asyncio.run(main())

Beispielausgabe

The answer to 1234 * 4567 is 5635678.
Lizenz

Complete original license and any source copyright retained. Source-authored examples are separate from site-reproduced results; no original scripts, installations, model/API requests, account creation, memory writes, graph queries or tests were executed.

The MIT License

Copyright (c) Jerry Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Produktoberfläche

LlamaIndex: inspect an author’s notebook graph preview

The author’s notebook graph preview illustrates an extracted network of entities and connections, with its original yFiles interface marks. Use the native image to inspect the overall structure. Graph-building follows the separate property-graph tutorial and its data/model prerequisites.

LlamaIndex: inspect an author’s notebook graph preview
Ganzes Bild öffnen
Lizenz

Complete original license and any source copyright retained. Source-authored examples are separate from site-reproduced results; no original scripts, installations, model/API requests, account creation, memory writes, graph queries or tests were executed. Original PNG converted at native resolution to lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.

The MIT License

Copyright (c) Jerry Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Produktoberfläche

LlamaIndex: inspect the author’s Neo4j graph view

An original Neo4j capture shows the complete entity query below and its extracted graph. Truncated labels and imperfect generated relationships make it useful for inspecting extraction quality. The underlying essay and graph database belong to the source tutorial’s separate setup.

LlamaIndex: inspect the author’s Neo4j graph view
Ganzes Bild öffnen

Beispieleingabe

match (n:`__Entity__`) return n
Lizenz

Complete original license and any source copyright retained. Source-authored examples are separate from site-reproduced results; no original scripts, installations, model/API requests, account creation, memory writes, graph queries or tests were executed. Complete visible messages/queries and selected replies are manually transcribed from the native author image; turn labels only identify sequence. Original PNG converted at native resolution to lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.

The MIT License

Copyright (c) Jerry Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Produktüberblick

We’re an applied AI lab building frontier models for enterprise-grade document parsing and extraction.

Originaltext der Quelle · EN
IN DER QUELLE GENANNTE FUNKTIONEN

Was LlamaIndex bietet

  1. 01Parse documents into AI-ready content
  2. 02Extract structured data using schemas
  3. 03Build retrieval and agent workflows with its framework
Originaltext der Quelle · EN
Was es unterscheidet

Was es unterscheidet

The current product offering emphasizes document processing through LlamaParse. Its open-source framework remains available for connecting retrieval and model components; framework use and hosted platform services have separate setup requirements.

Originaltext der Quelle · EN
Für wen es geeignet ist

Für wen es geeignet ist

  • Teams building document processing workflows
  • Developers building retrieval-augmented applications
Originaltext der Quelle · EN
VOR DER AUSWAHL

Was zu prüfen ist

  • Eine echte Aufgabe testen und das Ergebnis mit den Anforderungen vergleichen.
  • Prüfen, welche Daten gespeichert, weitergegeben oder zum Training genutzt werden.
  • Aktuelle Preise, Nutzungslimits und Kündigungsbedingungen auf der offiziellen Website prüfen.
Zuletzt geprüft

Offizieller Link am 9. Nov. 2026 geprüft. Funktionsangaben wurden nicht unabhängig getestet.

Verwandte Aufgaben

ProduktePreisZugangANWENDUNGEN
LlamaIndexGratis- und BezahlpläneNicht angegebenArbeitsabläufe automatisieren
HaystackNicht verifiziertNicht angegebenArbeitsabläufe automatisieren
AgentyNicht verifiziertAPIProduktionsreifen Code erzeugen · Arbeitsabläufe automatisieren
FirecrawlFreikontingent und kostenpflichtige PläneAPI, SDKs, CLI und MCPArbeitsabläufe automatisieren
Sage by LevantoGratis- und BezahlpläneAPIArbeitsabläufe automatisieren