Skip to content

Commit

Permalink
Organize the import
Browse files Browse the repository at this point in the history
  • Loading branch information
liwii committed Nov 20, 2024
1 parent b6c613d commit 6168eab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/langcheck/metrics/eval_clients/_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@

import torch
from openai import AsyncAzureOpenAI, AsyncOpenAI, AzureOpenAI, OpenAI
from openai.types.create_embedding_response import CreateEmbeddingResponse

from langcheck.utils.progress_bar import tqdm_wrapper

from ..prompts._utils import get_template
from ..scorer._base import BaseSimilarityScorer
from ._base import EvalClient, TextResponseWithLogProbs
from openai.types.create_embedding_response import CreateEmbeddingResponse


class OpenAIEvalClient(EvalClient):
"""EvalClient defined for OpenAI API."""
Expand Down

0 comments on commit 6168eab

Please sign in to comment.