diff --git a/README.md b/README.md index 8dfb667d2..a3e3a484b 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,22 @@ - - + + # BAML -**BAML is a domain-specific-language to write and test LLM functions.** +BAML is a domain-specific-language to write and test LLM functions. An LLM function is a prompt template with some defined input variables, and a specific output type like a class, enum, union, optional string, etc. -With BAML you can write and test a complex LLM function in 1/10 of the time it takes to setup a python LLM testing environment. + +BAML LLM functions plug into python, TS, and other languages, which makes it easy to focus more on engineering and less on prompting. + +BAML outperforms all other current methods of getting structured data, even when using it with GPT3.5. It also outperforms models fine-tuned for tool-use. See the [Berkeley Function Calling Benchmark](https://gorilla.cs.berkeley.edu/leaderboard.html) results. [Read more on our Schema-Aligned Parser](https://www.boundaryml.com/blog/schema-aligned-parsing). + +Boundary Studio ## Try it out in the playground -- [PromptFiddle.com](https://promptfiddle.com) @@ -186,7 +191,7 @@ Showcase of applications using BAML Analyze, label, and trace each request in [Boundary Studio](https://app.boundaryml.com). -Boundary Studio +Boundary Studio ## Why not just use an existing Python framework? diff --git a/docs/assets/baml-lamb-white.png b/docs/assets/baml-lamb-white.png new file mode 100644 index 000000000..f8aa59394 Binary files /dev/null and b/docs/assets/baml-lamb-white.png differ diff --git a/docs/assets/bfcl-baml.png b/docs/assets/bfcl-baml.png new file mode 100644 index 000000000..74d8dd944 Binary files /dev/null and b/docs/assets/bfcl-baml.png differ diff --git a/docs/assets/favicon.ico b/docs/assets/favicon.ico new file mode 100644 index 000000000..26297a778 Binary files /dev/null and b/docs/assets/favicon.ico differ diff --git a/docs/docs.yml b/docs/docs.yml index d7c8d75c8..48ec5e6a6 100644 --- a/docs/docs.yml +++ b/docs/docs.yml @@ -190,10 +190,10 @@ colors: light: "#fefefe" # dark: "#14191f" logo: - light: assets/favicon.png + light: assets/favicon.ico # dark: assets/favicon.png height: 40 -favicon: assets/favicon.png +favicon: assets/favicon.ico css: assets/styles.css layout: page-width: full diff --git a/integ-tests/python/pyproject.toml b/integ-tests/python/pyproject.toml index 5bb12d7af..425ef3fdf 100644 --- a/integ-tests/python/pyproject.toml +++ b/integ-tests/python/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" packages = [{ include = "app" }] [tool.poetry.dependencies] -python = "^3.9" +python = "^3.8" # Use client in production # baml-py = "^0.14.1" ruff = "^0.3.3" diff --git a/typescript/fiddle-frontend/app/[project_id]/_components/ProjectView.tsx b/typescript/fiddle-frontend/app/[project_id]/_components/ProjectView.tsx index bd1b02ce1..8115e82e3 100644 --- a/typescript/fiddle-frontend/app/[project_id]/_components/ProjectView.tsx +++ b/typescript/fiddle-frontend/app/[project_id]/_components/ProjectView.tsx @@ -142,7 +142,7 @@ const ProjectViewImpl = ({ project }: { project: BAMLProject }) => {