File tree Expand file tree Collapse file tree 2 files changed +59
-1
lines changed
examples/simple_calculator/src/aiq_simple_calculator/configs Expand file tree Collapse file tree 2 files changed +59
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ uv pip install -e examples/simple_calculator
3939
4040### Step 3: Modify Workflow Configuration
4141
42- Update your workflow configuration file ( ` examples/simple_calculator/configs/config.yml ` ) to include the weave telemetry settings as follows :
42+ Update your workflow configuration file to include the weave telemetry settings. For example, ` examples/simple_calculator/configs/config-weave .yml ` has the following weave settings:
4343
4444``` bash
4545general:
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ general :
17+ use_uvloop : true
18+ telemetry :
19+ tracing :
20+ weave :
21+ _type : weave
22+ project : " aiqtoolkit-demo"
23+
24+ functions :
25+ calculator_multiply :
26+ _type : calculator_multiply
27+ calculator_inequality :
28+ _type : calculator_inequality
29+ calculator_divide :
30+ _type : aiq_simple_calculator/calculator_divide
31+ current_datetime :
32+ _type : current_datetime
33+ calculator_subtract :
34+ _type : calculator_subtract
35+
36+ llms :
37+ nim_llm :
38+ _type : nim
39+ model_name : meta/llama-3.1-70b-instruct
40+ temperature : 0.0
41+ max_tokens : 1024
42+ openai_llm :
43+ _type : openai
44+ model_name : gpt-3.5-turbo
45+ max_tokens : 2000
46+
47+ workflow :
48+ _type : react_agent
49+ tool_names :
50+ - calculator_multiply
51+ - calculator_inequality
52+ - current_datetime
53+ - calculator_divide
54+ - calculator_subtract
55+ llm_name : nim_llm
56+ verbose : true
57+ retry_parsing_errors : true
58+ max_retries : 3
You can’t perform that action at this time.
0 commit comments