Skip to content

Commit

Permalink
Fixed class name with UpsonicOnPrem (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan authored May 23, 2024
1 parent 3a9605c commit 62521ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Once the container is up and running, you can install the Upsonic Python Client
Here's an updated quickstart guide to get you up and running with your container:

```python
from upsonic import Upsonic_On_Prem
upsonic = Upsonic_On_Prem('https://your-server-address:5000', 'ACK_****************')
from upsonic import UpsonicOnPrem
upsonic = UpsonicOnPrem('https://your-server-address:5000', 'ACK_****************')



Expand Down
2 changes: 1 addition & 1 deletion upsonic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from .remote import localimport
from .remote import Upsonic_Remote
from .remote import Upsonic_On_Prem, Tiger, Tiger_Admin
from .remote import Upsonic_On_Prem, Tiger, Tiger_Admin, UpsonicOnPrem
from .remote import Upsonic_Cloud_Free
from .remote import Upsonic_Cloud_Pro
from .remote import Upsonic_Cloud_Premium
Expand Down
2 changes: 1 addition & 1 deletion upsonic/remote/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .controller import Upsonic_Remote
from .on_prem import Upsonic_On_Prem, Tiger, Tiger_Admin
from .on_prem import Upsonic_On_Prem, Tiger, Tiger_Admin, UpsonicOnPrem
from .interface import Upsonic_Cloud_Free
from .interface import Upsonic_Cloud_Pro
from .interface import Upsonic_Cloud_Premium
Expand Down
5 changes: 5 additions & 0 deletions upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,11 @@ def return_ollama_llm(self, model=None):
return llm



class UpsonicOnPrem(Upsonic_On_Prem):
pass


def Tiger():
return Upsonic_On_Prem("https://api_tiger.upsonic.co", 'ACK_xmxIiqsgGySvBPPd55M0Ldm5AcR2kt6r3kmL52Ptqo', engine="upsonic_serializer", pass_python_version_check=True)

Expand Down

0 comments on commit 62521ba

Please sign in to comment.