Skip to content

Added support for Hugging face inference API #74

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Philotheephilix
Copy link

Motivation for integration

  • Hugging face has a very wide model library
  • Hugging face inference is free for little use and cost less than Openai or claude
  • I am using hugging face in AGENTIC ETHEREUM so i thought why not participate in contribution of covalent SDK being a former winner of Best use of covalent Gold Rush API @ Build On hackathon by Quicknode

Integrations

  • Types are well defined except response as HF has a very different response format
  • Reused most of the code for implementing HF

- native Hugging face inference support
- can be used as a cheaper option to openai with interchangable models
refer docs/concepts/llms.mdx for all details on usage
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.

1 participant