mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 20:08:36 +02:00
Add Blog Link (#286)
This commit is contained in:
parent
ecb26ddaf7
commit
b1bd0b42e5
@ -41,8 +41,8 @@ class DanswerGenAIModel(str, Enum):
|
||||
OPENAI_CHAT = "openai-chat-completion"
|
||||
GPT4ALL = "gpt4all-completion"
|
||||
GPT4ALL_CHAT = "gpt4all-chat-completion"
|
||||
HUGGINGFACE = "huggingface-inference-completion"
|
||||
HUGGINGFACE_CHAT = "huggingface-inference-chat-completion"
|
||||
HUGGINGFACE = "huggingface-client-completion"
|
||||
HUGGINGFACE_CHAT = "huggingface-client-chat-completion"
|
||||
REQUEST = "request-completion"
|
||||
|
||||
|
||||
@ -52,6 +52,6 @@ class ModelHostType(str, Enum):
|
||||
|
||||
# https://huggingface.co/docs/api-inference/detailed_parameters#text-generation-task
|
||||
HUGGINGFACE = "huggingface" # HuggingFace test-generation Inference API
|
||||
# TODO link blog here
|
||||
# https://medium.com/@yuhongsun96/host-a-llama-2-api-on-gpu-for-free-a5311463c183
|
||||
COLAB_DEMO = "colab-demo"
|
||||
# TODO support for Azure, AWS, GCP GenAI model hosting
|
||||
|
@ -130,7 +130,7 @@ class HuggingFaceRequestModel(HostSpecificRequestModel):
|
||||
|
||||
class ColabDemoRequestModel(HostSpecificRequestModel):
|
||||
"""Guide found at:
|
||||
TODO place guide here
|
||||
https://medium.com/@yuhongsun96/host-a-llama-2-api-on-gpu-for-free-a5311463c183
|
||||
"""
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user