-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b73f67
commit 6272990
Showing
5 changed files
with
53 additions
and
197 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// These are LLM clients you can use in your functions. We currently support Anthropic, OpenAI / Azure, Gemini, and Ollama as providers but are expanding to many more. | ||
|
||
// We also support any other provider that follows the OpenAI API specification, such as HuggingFace. | ||
|
||
// For this playground, we have setup a few clients for you to use already with some free credits. | ||
|
||
client<llm> GPT4 { | ||
// Use one of the following: https://docs.boundaryml.com/v3/syntax/client/client#providers | ||
provider openai | ||
// You can pass in any parameters from the OpenAI Python documentation into the options block. | ||
options { | ||
model gpt-4 | ||
api_key env.OPENAI_API_KEY | ||
} | ||
} | ||
|
||
client<llm> GPT4Turbo { | ||
provider openai | ||
options { | ||
model gpt-4-turbo | ||
api_key env.OPENAI_API_KEY | ||
} | ||
} | ||
|
||
client<llm> GPT35 { | ||
provider openai | ||
options { | ||
model gpt-3.5-turbo | ||
api_key env.OPENAI_API_KEY | ||
} | ||
} | ||
|
||
client<llm> Claude { | ||
provider anthropic | ||
options { | ||
model claude-3-haiku-20240307 | ||
api_key env.ANTHROPIC_API_KEY | ||
max_tokens 1000 | ||
|
||
} | ||
} | ||
|
||
client<llm> Gemini { | ||
provider google-ai | ||
options{ | ||
model "gemini-1.5-pro-001" | ||
api_key env.GOOGLE_API_KEY | ||
} | ||
} |
49 changes: 0 additions & 49 deletions
49
typescript/fiddle-frontend/public/_examples/intro/chat-roles/baml_src/clients.baml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
typescript/fiddle-frontend/public/_examples/intro/chat-roles/baml_src/clients.baml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clients.baml |
49 changes: 0 additions & 49 deletions
49
typescript/fiddle-frontend/public/_examples/intro/classify-message/baml_src/clients.baml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
typescript/fiddle-frontend/public/_examples/intro/classify-message/baml_src/clients.baml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clients.baml |
49 changes: 0 additions & 49 deletions
49
typescript/fiddle-frontend/public/_examples/intro/extract-resume/baml_src/clients.baml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
typescript/fiddle-frontend/public/_examples/intro/extract-resume/baml_src/clients.baml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clients.baml |
49 changes: 0 additions & 49 deletions
49
typescript/fiddle-frontend/public/_examples/intro/images/baml_src/clients.baml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
typescript/fiddle-frontend/public/_examples/intro/images/baml_src/clients.baml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clients.baml |