You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR - Error while running the agent: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
Lavague is not working in python script but it is working in jupyter notebook for the same code.
while running the code as a script it show the resource not found error.
Expected behavior
the script must be executed properly.
Screenshots
versions details:
Name: lavague
Version: 1.1.19
Summary: automation code generation from text instructions
ERROR - Error while running the agent: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
Lavague is not working in python script but it is working in jupyter notebook for the same code.
while running the code as a script it show the resource not found error.
Expected behavior
the script must be executed properly.
Screenshots
versions details:
Name: lavague
Version: 1.1.19
Summary: automation code generation from text instructions
Name: llama-index-embeddings-langchain
Version: 0.1.2
Summary: llama-index embeddings langchain integration
code:
embeddings1 = HuggingFaceEmbeddings(model_name = "sentence-transformers/all-MiniLM-L6-v2",
model_kwargs = {'device': 'cpu'},
encode_kwargs = {'normalize_embeddings': False})
llm = AzureOpenAI(
api_key=key,
model=model_name,
azure_endpoint=endpoint,
deployment_name=deployment)
mm_llm = AzureOpenAIMultiModal(
api_key=key,
model=model_name,
azure_endpoint=endpoint,
deployment_name=deployment
)
selenium_driver = SeleniumDriver()
world_model = WorldModel(mm_llm=mm_llm)
action_engine = ActionEngine(llm=llm, embedding=embeddings1, driver=selenium_driver)
agent = WebAgent(world_model, action_engine)
agent.get("file:///D:/IVA/Govind/abcc.html")
data = """
"""
instruction = "Use the necessary data provided to fill in the form."
agent.run(instruction, user_data=data)
The text was updated successfully, but these errors were encountered: