https://promptfoo.dev/ logo
Unable to resolve error: No connection adapters we...
# ❓|questions
d
Hi all, I am trying to evaluate a RAG pipeline. When calling our retrieve.py script using
promptfoo eval
, we persistently get the following error:
An error occurred during processing: No connection adapters were found for "{'config': {'basePath': ''}}"
The retrieval script works as expected outside of the promptfoo environment including the call_api() function that produces a promptfoo friendly JSON -- {"output": content}. However, we are unable to debug this further and isolate the issue. Has anyone run into a similar issue? PS: The retrieval script takes in our endpoint URL, API key and query as parameters and invokes our endpoint for vectorDB search.
Hi all, resolved this by making sure call_api() was self contained and had references to the API endpoint and API key from environment variables within the function.
2 Views