dotimplement / HealthChain

Simplify prototyping and testing LLM applications in healthcare context 💫 🏥
https://dotimplement.github.io/HealthChain/
Apache License 2.0
10 stars 1 forks source link

Clarify function signature and return type #30

Closed jenniferjiangkells closed 2 months ago

jenniferjiangkells commented 3 months ago

Currently the function signature for client and service functions is fixed:

For service functions we can use the signature module and type check dynamically. For client functions we're a bit more constrained atm - might have to make this more clear in the documentation.

Alternatively we may follow the principle that explicit = better and just have the users explicitly import the Pydantic models -> actually I think we should do this