Created
October 12, 2023 04:14
-
-
Save Kurry/60e42ca6b95b65ea3ad67a99d9c2b60a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def analyze_with_claude_2(ten_q_content): | |
url = "https://api.promptperfect.jina.ai/your-api-endpoint" | |
headers = {"Content-Type": "application/json"} | |
response = requests.post(url, headers=headers, json={"parameters": {"earnings_call_transcript": ten_q_content}}) | |
if response.status_code == 200: | |
return response.json() # Assuming the response contains the risks identified | |
else: | |
print(response.text) | |
return [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment