File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
- from _invoke_model_activity import (
2
+ from model_invoker import (
3
3
ActivityModelInput ,
4
4
ModelTracingInput ,
5
5
ToolInput ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def basic_hello_world_orchestrator(context):
43
43
44
44
@app .activity_trigger (input_name = "input" )
45
45
async def invoke_model_activity (input : str ):
46
- from _invoke_model_activity import ModelInvoker , ActivityModelInput
46
+ from model_invoker import ModelInvoker , ActivityModelInput
47
47
48
48
# Deserialize input string into ActivityModelInput object
49
49
activity_input = ActivityModelInput .from_json (input )
Original file line number Diff line number Diff line change 1
- """A durable activity that invokes a LLM model.
2
-
3
- Implements mapping of OpenAI datastructures to Pydantic friendly types.
4
- """
5
-
6
1
import enum
7
2
import json
8
3
from dataclasses import dataclass
You can’t perform that action at this time.
0 commit comments