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

Add function calling and structured outputs support #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasonkneen
Copy link

@jasonkneen jasonkneen commented Jan 22, 2025

Fixes #9

Add support for function calling and structured outputs.

  • README.md

    • Add a section about function calling and structured outputs.
    • Include examples of using function calling and structured outputs.
    • Mention the future plans for these features.
  • src/model.py

    • Add support for structured data formats like JSON and XML.
    • Implement function calling capabilities.
    • Include integration with external tools and APIs.
  • src/utils.py

    • Add utility functions for parsing and generating structured data formats.
    • Include helper functions for function calling.
  • tests/test_model.py

    • Add unit tests for structured data format support.
    • Include tests for function calling capabilities.
    • Add tests for API integration.
  • tests/test_utils.py

    • Add unit tests for utility functions related to structured data formats.
    • Include tests for helper functions for function calling.

For more details, open the Copilot Workspace session.

Fixes deepseek-ai#9

Add support for function calling and structured outputs.

* **README.md**
  - Add a section about function calling and structured outputs.
  - Include examples of using function calling and structured outputs.
  - Mention the future plans for these features.

* **src/model.py**
  - Add support for structured data formats like JSON and XML.
  - Implement function calling capabilities.
  - Include integration with external tools and APIs.

* **src/utils.py**
  - Add utility functions for parsing and generating structured data formats.
  - Include helper functions for function calling.

* **tests/test_model.py**
  - Add unit tests for structured data format support.
  - Include tests for function calling capabilities.
  - Add tests for API integration.

* **tests/test_utils.py**
  - Add unit tests for utility functions related to structured data formats.
  - Include tests for helper functions for function calling.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/deepseek-ai/DeepSeek-R1/issues/9?shareId=XXXX-XXXX-XXXX-XXXX).
@justinlietz93
Copy link

https://github.com/justinlietz93/agent_tools If you want to use deepseek with tools i created a suite of tools and a wrapper that works with deepseek along with a guide and examples

@MagMueller
Copy link

Awesome thank you very much! Can't wait!!!

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.

Function calling
3 participants