mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 06:23:20 +00:00
@@ -4,7 +4,7 @@ if __name__ == "__main__":
|
||||
text = "Harrison works at LangChain, which is located in San Francisco"
|
||||
allowed_nodes = ["Person", "Organization", "Location"]
|
||||
allowed_relationships = ["WORKS_AT", "LOCATED_IN"]
|
||||
print( # noqa: T201
|
||||
print(
|
||||
chain(
|
||||
text,
|
||||
allowed_nodes=allowed_nodes,
|
||||
|
Reference in New Issue
Block a user