Skip to content

Commit

Permalink
Cleaning up some code (#7)
Browse files Browse the repository at this point in the history
* Cleaning up some code

* Made config to use the default hallucination detector

---------

Co-authored-by: Preetam Joshi <[email protected]>
  • Loading branch information
pjoshi30 and Preetam Joshi authored Jun 21, 2024
1 parent 039ab03 commit 3e3625b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions aimon/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from .models import MLModel, Application
from .dataset import Dataset, DatasetCollection
from .evaluation import Evaluation, Run
from .simple_client import SimpleAimonRelyClient
from .metrics_config import Config
from typing import List, Dict, Any
import requests
Expand All @@ -26,7 +25,6 @@ def __init__(self, api_key, email):
self.api_key = api_key
self.check_api_key()
self.user = self.get_user(email)
self._inline_client = SimpleAimonRelyClient(api_key)

def get_user(self, email):
headers = self.create_auth_header()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name='aimon',
python_requires='>3.8.0',
packages=find_packages(),
version="0.3.0",
version="0.3.1",
install_requires=[
"requests"
],
Expand Down

0 comments on commit 3e3625b

Please sign in to comment.