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

Docstrings and changed prompt template param #17

Merged
merged 4 commits into from
Oct 2, 2024
Merged

Conversation

ea-rus
Copy link
Contributor

@ea-rus ea-rus commented Oct 1, 2024

Added docsting for methods exposed in API

  • datasourses
  • minds

Changed the way to pass prompt template for create or update mind
Used to be:

mind = client.minds.create(
    'my_mind',
    parameters={
          'prompt_template': 'do the best'
    }
)

Will be:

mind = client.minds.create(
    'my_mind',
    prompt_template='do the best'
)

@ea-rus ea-rus marked this pull request as ready for review October 1, 2024 16:53
@ea-rus
Copy link
Contributor Author

ea-rus commented Oct 1, 2024

@martyna-mindsdb, about changing way to pass prompt_template to mind:
Do we have docs which have to be updated?

@ea-rus ea-rus changed the title Docstrings Docstrings and changed prompt template param Oct 1, 2024
@ZoranPandovski ZoranPandovski merged commit 8b806bd into main Oct 2, 2024
4 checks passed
@ZoranPandovski ZoranPandovski deleted the docstring branch October 2, 2024 08:40
@ea-rus ea-rus mentioned this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants