File tree Expand file tree Collapse file tree
src/uipath_llamaindex/_cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-llamaindex"
3- version = " 0.0.35 "
3+ version = " 0.0.36 "
44description = " UiPath LlamaIndex SDK"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.10"
Original file line number Diff line number Diff line change 11import json
22
3- from dotenv import load_dotenv
43from llama_index .core .agent .workflow import AgentWorkflow
54from llama_index .core .workflow import (
65 Context ,
109
1110from uipath_llamaindex .models import CreateActionEvent
1211
13- load_dotenv ()
14-
1512llm = OpenAI (model = "gpt-4o-mini" )
1613
1714
Original file line number Diff line number Diff line change 11import json
22
3- from dotenv import load_dotenv
43from llama_index .core .agent .workflow import AgentWorkflow
54from llama_index .core .workflow import (
65 Context ,
109
1110from uipath_llamaindex .models import InvokeProcessEvent
1211
13- load_dotenv ()
14-
1512llm = OpenAI (model = "gpt-4o-mini" )
1613
1714
Original file line number Diff line number Diff line change 11import os
22
3- from dotenv import load_dotenv
43from llama_cloud_services import LlamaCloudIndex
54from llama_index .core .agent .workflow import FunctionAgent
65from llama_index .llms .openai import OpenAI
76from pydantic import BaseModel , Field
87
9- load_dotenv ()
10-
118# Initialize LlamaCloud Index connections
129company_policy_index = LlamaCloudIndex (
1310 name = os .getenv ("LLAMACLOUD_INDEX_1_NAME" ),
Original file line number Diff line number Diff line change 33from os import environ as env
44from typing import Optional
55
6- from dotenv import load_dotenv
76from openinference .instrumentation .llama_index import (
87 LlamaIndexInstrumentor ,
98 get_current_span ,
1817from ._utils ._config import LlamaIndexConfig
1918
2019logger = logging .getLogger (__name__ )
21- load_dotenv ()
2220
2321
2422def llamaindex_run_middleware (
You can’t perform that action at this time.
0 commit comments