Files
matagent/test.py
2025-03-02 14:09:11 +08:00

14 lines
1.2 KiB
Python

# import json
# import os
# with open("/root/data50T/LYT/matagent/_backend/history/b872c00a-990f-4099-a830-2bc8f7b30d11/team_history.json") as f:
# data = json.load(f)
# for message in data:
# if isinstance(message['content'], str):
# print(f"----------------{message['source']}----------------\n {message['content']}")
data = """
'Liquid exfoliation is a synthesis technique used to break apart layered materials, such as graphite, MoS₂, and various clays, into individual, atomically thin nanosheets. In liquid exfoliation, the bulk layered material is dispersed in a liquid medium, where its weak van der Waals forces holding the layers together can be overcome. This is achieved through several methods: oxidation, which modifies the material chemically; ion intercalation or exchange, where ions are inserted between the layers to increase spacing; and surface passivation by solvents, which helps to weaken the interlayer attractions. The combination of these methods allows the layered crystals to be delaminated into high-aspect ratio nanosheets with a large surface area, making them suitable for creating thin films, composites, and other advanced materials.'
"""
print(data)