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
I am having an issue with Visual Studio Code: I cannot execute my script. None of my queries work, and they fail, saying that a value is incorrect.
It seems like no request is being executed or able to connect to the server.
The module causing the issue is: "Index lookup".
I use Python 3.10.15 (/isr/local/bin/python)
"promptflow": "1.16.1",
"promptflow-azure": "1.16.1",
"promptflow-core": "1.16.1",
"promptflow-devkit": "1.16.1",
"promptflow-tracing": "1.16.1"
Everything works perfectly (Python scripts, queries, etc.) on the web.
However, it is slow, so I want to switch to Visual Studio Code.
I have therefore used this feature:
My flow.dag.yaml file is exactly the same between the Web and Visual Studio Code; there is no issue with code differences.
But when I use this feature, after installing all dependencies and prerequisites, I encounter an error with all my queries:
When working from the web, everything functions properly, and I can see traffic in the usage of the index in question. However, via Visual Studio Code, there’s nothing, no traffic at all, even though the authentication is correct.
Here is the error:JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I am having an issue with Visual Studio Code: I cannot execute my script. None of my queries work, and they fail, saying that a value is incorrect.
It seems like no request is being executed or able to connect to the server.
The module causing the issue is: "Index lookup".
I use Python 3.10.15 (/isr/local/bin/python)
"promptflow": "1.16.1",
"promptflow-azure": "1.16.1",
"promptflow-core": "1.16.1",
"promptflow-devkit": "1.16.1",
"promptflow-tracing": "1.16.1"
Everything works perfectly (Python scripts, queries, etc.) on the web.
However, it is slow, so I want to switch to Visual Studio Code.
I have therefore used this feature:
My flow.dag.yaml file is exactly the same between the Web and Visual Studio Code; there is no issue with code differences.
But when I use this feature, after installing all dependencies and prerequisites, I encounter an error with all my queries:
When working from the web, everything functions properly, and I can see traffic in the usage of the index in question. However, via Visual Studio Code, there’s nothing, no traffic at all, even though the authentication is correct.
Here is the error:JSONDecodeError: Expecting value: line 1 column 1 (char 0)
INPUT:
{"mlindex_content":"embeddings:\n api_base: **********/\n api_type: azure\n api_version: 2023-07-01-preview\n batch_size: '1'\n connection:\n id: /subscriptions/**\n connection_type: workspace_connection\n deployment: text-embedding-ada-002\n dimension: 1536\n kind: open_ai\n model: text-embedding-ada-002\n schema_version: '2'\nindex:\n api_version: 2024-05-01-preview\n connection:\n id: /subscriptions\n connection_type: workspace_connection\n endpoint: *****\n engine: azure-sdk\n field_mapping:\n content: content\n embedding: contentVector\n metadata: meta_json_string\n index: index-proc\n kind: acs\n semantic_configuration_name: azureml-default\n",
"queries":["how to install PDF Creator"],
"query_type":"Hybrid (vector + keyword)",
"top_k":40}
OUTPUT:
""
The text was updated successfully, but these errors were encountered: