Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Enable dynamic schema for function calls based on tool config#107

Open
ivankartac wants to merge 1 commit intomainfrom
ivan/ai-901-enable-dynamic-schema-based-on-tool-config
Open

Enable dynamic schema for function calls based on tool config#107
ivankartac wants to merge 1 commit intomainfrom
ivan/ai-901-enable-dynamic-schema-based-on-tool-config

Conversation

@ivankartac
Copy link

No description provided.

@ivankartac ivankartac marked this pull request as ready for review May 13, 2024 10:43
parameters_schema = self.parameters_type.schema()
parameters_schema = exclude_keys_recursive(parameters_schema, {"title"})
if self.should_respond:
parameters_schema["properties"][

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tady "name": self.action_config.type. Bych chtel casem upravit na "name": self.action_config.function_name. Pokud by jsi mel cas tak bychom to mohli pridat rovnou. Potom je moznost menit nazev funkce a mit vice implementaci.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants