langchain/libs/experimental/langchain_experimental/graph_transformers
Tomaz Bratanic 22fa32e164
LLM Graph transformer dealing with empty strings (#23368)
Pydantic allows empty strings:

```
from langchain.pydantic_v1 import Field, BaseModel

class Property(BaseModel):
  """A single property consisting of key and value"""
  key: str = Field(..., description="key")
  value: str = Field(..., description="value")

x = Property(key="", value="")
```

Which can produce errors downstream. We simply ignore those records
2024-06-25 13:01:53 -04:00
..
__init__.py experimental[patch]: update module doc strings (#19539) 2024-03-26 10:38:10 -04:00
diffbot.py Add sentiment and confidence levels to diffbotgraphtransformer (#21590) 2024-05-13 23:00:52 +00:00
llm.py LLM Graph transformer dealing with empty strings (#23368) 2024-06-25 13:01:53 -04:00