OpenBioLink / ThoughtSource

A central, open resource for data and tools related to chain-of-thought reasoning in large language models. Developed @ Samwald research group: https://samwald.info/
MIT License
863 stars 69 forks source link

throw error if from_json is used on already loaded collection #106

Open KonstantinHebenstreit opened 1 year ago

KonstantinHebenstreit commented 1 year ago

this is right: collection = Collection.from_json("...")

this should throw an error in the second line: collection = Collection([dataset]) collection.from_json("...")