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

tools: add ClinicalTrials.gov API as function tool #134

Merged
merged 1 commit into from
May 14, 2024

Conversation

AidanCooper
Copy link
Contributor

@AidanCooper AidanCooper commented May 12, 2024

Thank you for contributing to the Cohere Toolkit!

  • PR title: "area: description"

Enables clinical studies to be retrieved from ClinicalTrials.gov, with optional filtering by condition, location, intervention, and recruiting status.
Screenshot

  • Add tests and docs: Please include testing and documentation for your changes
  • Lint and test: Run make lint and make run-tests

Three unrelated tests are failing locally for me:

FAILED src/backend/tests/routers/test_deployment.py::test_list_deployments_has_all_option[mock_available_model_deployments0] - AssertionError: assert 5 == 3
FAILED src/backend/tests/routers/test_deployment.py::test_list_deployments_no_available_models_404[mock_available_model_deployments0] - assert 200 == 404
FAILED src/backend/tests/routers/test_deployment.py::test_list_deployments_no_available_models_with_all_option[mock_available_model_deployments0] - AssertionError: assert 5 == 3

@CLAassistant
Copy link

CLAassistant commented May 12, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lusmoura lusmoura left a comment

Choose a reason for hiding this comment

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

Great addition to the toolkit! Thank you for contributing 😄 You might need to update your branch before merging it.

Enables clinical studies to be retrieved from ClinicalTrials.gov, with
optional filtering by condition, location, intervention, and recruiting
status.
@AidanCooper
Copy link
Contributor Author

Great addition to the toolkit! Thank you for contributing 😄 You might need to update your branch before merging it.

Thanks! Branch is up to date — just need someone with write access to merge

@lusmoura lusmoura merged commit 31ffb98 into cohere-ai:main May 14, 2024
2 checks passed
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.

None yet

3 participants