docs: Update function definition syntax in AVAP™ documentation for clarity
This commit is contained in:
commit
6692990a38
|
|
@ -66,12 +66,7 @@ graph TD
|
||||||
│ └── pipelines/
|
│ └── pipelines/
|
||||||
│ └── flows/ # Data processing flows
|
│ └── flows/ # Data processing flows
|
||||||
└── src/
|
└── src/
|
||||||
├── __init__.py
|
└── server.py # Core Logic: gRPC Server & RAG Orchestration
|
||||||
├── config.py # Application configuration
|
|
||||||
└── utils/
|
|
||||||
├── emb_factory.py # Embedding model factory
|
|
||||||
├── llm_factory.py # LLM model factory
|
|
||||||
└── __init__.py
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## Function Construction
|
## 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™
|
### Defining a function in AVAP™
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue