This file contains hidden or 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
| model: claude-opus-4-20250514 | |
| messages: | |
| - role: user | |
| content: | |
| - type: text | |
| text: | | |
| <system-reminder> | |
| As you answer the user's questions, you can use the following context: | |
| # important-instruction-reminders | |
| Do what has been asked; nothing more, nothing less. |
This file contains hidden or 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
| import numpy as np | |
| from sentence_transformers import SentenceTransformer | |
| import anthropic | |
| from typing import List, Dict, Optional | |
| import logging | |
| from dataclasses import dataclass | |
| import uuid | |
| logger = logging.getLogger(__name__) |