Ian Thompson
Ian Thompson
## How to reproduce the behaviour Using Python 3.12.2 on a Windows 10 machine: `$ py -3.12 -m venv env` `$ source env/Scripts/activate` `$ pip install thinc -U` `$ python...
## Change Summary Added `extra_repr` to the `ConfiDict` (and other necessary spots) + unit tests and docstrings. ## Related issue number fix #9732 ## Checklist * [x] The pull request...
### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think...
## How to reproduce the behaviour ### The problem This raises error `E1042`. ```python import spacy spacy.load("en_core_web_sm", enable=["senter"]) ``` ```python-traceback --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[4], line...
### Initial Checks - [X] I confirm that I'm using Pydantic V2 ### Description I'm hoping to incorporate some custom error handling using the :class:`PydanticKnownError`. I tried to use the...
In the [Microsoft docs](https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?pivots=rest-api&tabs=bash%2Ctypescript%2Cpython-new#environment-variables) they mention setting the environment variable to "AZURE_OPENAI_API_KEY" rather than "AZURE_OPENAI_KEY". This is also reflected in [`langchain`'s implementation](https://github.com/langchain-ai/langchain/blob/fead4749b920fe6ffda55961b8d3ea75a825c29f/libs/partners/openai/langchain_openai/llms/azure.py#L60). Users could have the same key with two...