docs: Update function definition syntax in AVAP™ documentation for clarity

This commit is contained in:
acano 2026-03-06 08:50:54 +01:00
commit 6692990a38
2 changed files with 2 additions and 7 deletions

View File

@ -66,12 +66,7 @@ graph TD
│ └── pipelines/
│ └── flows/ # Data processing flows
└── src/
├── __init__.py
├── config.py # Application configuration
└── utils/
├── emb_factory.py # Embedding model factory
├── llm_factory.py # LLM model factory
└── __init__.py
└── server.py # Core Logic: gRPC Server & RAG Orchestration
```
---

View File

@ -1,6 +1,6 @@
## Function Construction
In AVAP™, similar to Python, functions are defined using the keyword `def` , followed by the function name and its parameters in parentheses. The function definition ends with a colon ( `:` ), followed by the block of code that forms the function body, indented with four spaces.
In AVAP™, similar to Python, functions are defined using the keyword `function` , followed by the function name and its parameters in parentheses. The function definition ends with a ( `{` ), followed by the block of code that forms the function body, and closed by (`}`).
### Defining a function in AVAP™