from langchain_upstage import UpstageGroundednessCheckgroundedness_check = UpstageGroundednessCheck()
Use the run method to check the groundedness of the input text.
Copy
Ask AI
request_input = { "context": "Mauna Kea is an inactive volcano on the island of Hawai'i. Its peak is 4,207.3 m above sea level, making it the highest point in Hawaii and second-highest peak of an island on Earth.", "answer": "Mauna Kea is 5,207.3 meters tall.",}response = groundedness_check.invoke(request_input)print(response)
Assistant
Responses are generated using AI and may contain mistakes.