Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import json

from thinkingbox.common import Judge, TestContext
from thinkingbox.common.chat_types import Text

"""!
scenario: external_booking_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import json

from thinkingbox.common import Judge, TestContext
from thinkingbox.common.chat_types import Text

"""!
scenario: sandbox_neobank_support_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

# Standard decimal precision for monetary amounts (2 decimal places)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import GroupBooking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import BoardType, Booking, BookingStatus, HotelInventory, RoomType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import BoardType, Booking, GroupBooking, HotelInventory, RoomType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex

# Standard decimal precision for monetary amounts (2 decimal places)
TWO_PLACES = Decimal("0.01")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from datetime import datetime
from decimal import Decimal
from enum import Enum
from typing import List, Optional
from typing import Optional

from pydantic import BaseModel, Field

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from decimal import Decimal
from typing import Type

from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ..models import CorporateAccount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import Booking, BookingStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...crm_api.models import CustomerProfile, VipTier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...crm_api.models import CustomerProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...crm_api.models import CustomerProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ...crm_api.models import CustomerProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

"""Models for hotel_partner_api."""

from decimal import Decimal
from enum import Enum
from typing import ClassVar, List, Optional

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ...booking_api.models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ..models import Hotel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ..models import Hotel, HotelData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import BoardType, HotelInventory, RoomType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...corporate_api.models import CorporateAccount, CorporateAccountTier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import Booking, GroupBooking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...hotel_partner_api.models import Hotel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, Field

from ...booking_api.models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from decimal import Decimal
from enum import Enum
from typing import Annotated, ClassVar, List, Optional
from typing import Annotated, ClassVar, Optional

from tb_business_ops_servers_202606.utils.sandbox_tools_system import UnstableField
from pydantic import BaseModel, Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ...booking_api.models import Booking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex
from pydantic import BaseModel, ConfigDict, Field

from ..models import Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex

# Standard decimal precision for monetary amounts (2 decimal places)
TWO_PLACES = Decimal("0.01")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
from tb_business_ops_servers_202606.utils.sandbox_tools_system import (
InMemoryDatabase,
Tool,
UnstableField,
get_schema_without_refs,
get_typesense,
)
from tb_business_ops_servers_202606.utils.typesense_helpers import TypesenseIndex

# Standard decimal precision for monetary amounts (2 decimal places)
TWO_PLACES = Decimal("0.01")
Expand Down
Loading