Skip to content

Commit

Permalink
Remove openai import and return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Dec 12, 2024
1 parent ed256da commit b96a34b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neon_llm_core/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from typing import List, Optional, Tuple, Union

from neon_data_models.models.api import LLMRequest, LLMResponse
from openai import OpenAI
from ovos_utils.log import log_deprecation


Expand Down Expand Up @@ -69,7 +68,7 @@ def tokenizer_model_name(self) -> str:

@property
@abstractmethod
def model(self) -> OpenAI:
def model(self) -> object:
"""
Get an OpenAI client object to send requests to.
"""
Expand Down

0 comments on commit b96a34b

Please sign in to comment.