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 Hugging API #419

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Add Hugging API #419

merged 1 commit into from
Sep 23, 2024

Conversation

kardSIM
Copy link
Contributor

@kardSIM kardSIM commented Sep 22, 2024

Added Support for HuggingFace API and Model Handling, Updated Parsing Logic

-Introduced two new classes: HuggingFaceEndpoint (for API calls) and ChatHuggingFace (for model interaction)
-Adjusted the parse_llmresult method in the LoggerChatModel class because of the different response formats returned by ChatHuggingFace models compared to other proprietary models like ChatAnthropic or ChatOpenAI (still requires further change )
-The specific model type and ID in use can be found in the config.yaml file

@feder-cr feder-cr merged commit ec44aeb into AIHawk-FOSS:v3 Sep 23, 2024
1 check 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.

2 participants