Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports automatic calling of APIs conforming to the OpenAPI specification. #548

Merged
merged 19 commits into from
May 15, 2024
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
16 changes: 10 additions & 6 deletions camel/functions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========
from .google_maps_function import MAP_FUNCS
from .math_functions import MATH_FUNCS
# ruff: noqa: I001
from .openai_function import (
OpenAIFunction,
get_openai_function_schema,
get_openai_tool_schema,
)

from .google_maps_function import MAP_FUNCS
from .math_functions import MATH_FUNCS
from .open_api_function import OPENAPI_FUNCS
from .retrieval_functions import RETRIEVAL_FUNCS
from .search_functions import SEARCH_FUNCS
from .twitter_function import TWITTER_FUNCS
from .weather_functions import WEATHER_FUNCS

__all__ = [
'OpenAIFunction',
'get_openai_tool_schema',
'get_openai_function_schema',
'get_openai_tool_schema',
'MAP_FUNCS',
'MATH_FUNCS',
'OPENAPI_FUNCS',
'RETRIEVAL_FUNCS',
'SEARCH_FUNCS',
'WEATHER_FUNCS',
'MAP_FUNCS',
'TWITTER_FUNCS',
'RETRIEVAL_FUNCS',
'WEATHER_FUNCS',
]
Loading
Loading