You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
While HuggingFace is already supported through the OpenAICall class (use base_url, model, api_key="-"), we should support HuggingFace InferenceClient through a HuggingFaceCall class.
Describe the solution you'd like
Create a HugginFaceCall that extends BaseCall that follows same principles as other Calls. This means that call params are properly typed in a Pydantic model, responses extend BaseCallResponse, etc.
willbakst
changed the title
Add new class HuggingFaceCall
Feature Request: Add support for HuggingFace models (i.e. HuggingFaceCall)
May 8, 2024
willbakst
changed the title
Feature Request: Add support for HuggingFace models (i.e. HuggingFaceCall)
[FEATURE REQUEST] Add support for HuggingFace models (i.e. HuggingFaceCall)
May 8, 2024
The main thing on my mind for this feature is how this will interact with our prompt_template parsing. Will users want direct access to the underlying model prompt structure?
willbakst
changed the title
[FEATURE REQUEST] Add support for HuggingFace models (i.e. HuggingFaceCall)
Add support for HuggingFace models (i.e. HuggingFaceCall)
May 10, 2024
Is your feature request related to a problem? Please describe.
While HuggingFace is already supported through the
OpenAICall
class (use base_url, model, api_key="-"), we should support HuggingFace InferenceClient through aHuggingFaceCall
class.Describe the solution you'd like
Create a
HugginFaceCall
that extendsBaseCall
that follows same principles as other Calls. This means that call params are properly typed in a Pydantic model, responses extendBaseCallResponse
, etc.Additional context
See OpenAICall for reference.
https://github.com/Mirascope/mirascope/blob/dev/mirascope/openai/calls.py
The text was updated successfully, but these errors were encountered: