Guarda in azione
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.
Input di esempio
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())Risultato di esempio
The answer to 1234 * 4567 is 5635678.Licenza
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.
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.

Licenza
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.
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.

Input di esempio
match (n:`__Entity__`) return nLicenza
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.
Panoramica del prodotto
We’re an applied AI lab building frontier models for enterprise-grade document parsing and extraction.
Testo originale della fonte · ENCosa offre LlamaIndex
- 01Parse documents into AI-ready content
- 02Extract structured data using schemas
- 03Build retrieval and agent workflows with its framework
Cosa lo distingue
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.
Testo originale della fonte · ENA chi è adatto
- Teams building document processing workflows
- Developers building retrieval-augmented applications
Cosa verificare
- Prova un’attività reale e confronta il risultato con le tue esigenze.
- Controlla quali dati vengono conservati, condivisi o usati per l’addestramento.
- Verifica prezzi, limiti d’uso e condizioni di cancellazione sul sito ufficiale.
Link ufficiale controllato il 9 nov 2026. Le funzioni non sono state testate in modo indipendente.




