Poetry and LLM fixes (#1508)

This commit is contained in:
Dev Khant
2024-07-20 10:49:15 +05:30
committed by GitHub
parent 51fd7db205
commit 0c9c5fe9c2
9 changed files with 26 additions and 1556 deletions

View File

@@ -2,7 +2,10 @@ import os
import json
from typing import Dict, List, Optional, Any
import boto3
try:
import boto3
except ImportError:
raise ImportError("AWS Bedrock requires extra dependencies. Install with `pip install boto3`") from None
from mem0.llms.base import LLMBase
from mem0.configs.llms.base import BaseLlmConfig