GithubHelp home page GithubHelp logo

langfuse / langfuse-docs Goto Github PK

View Code? Open in Web Editor NEW
44.0 5.0 38.0 233.91 MB

🪢 Langfuse documentation -- Langfuse is the open source LLM Engineering Platform. Observability, evals, prompt management, playground and metrics to debug and improve LLM apps

Home Page: https://langfuse.com/

License: MIT License

CSS 0.09% TypeScript 7.79% JavaScript 0.44% MDX 21.38% Jupyter Notebook 70.17% Shell 0.01% PLpgSQL 0.09% Python 0.03%
genai langfuse large-language-models llms nextra observability prompt-management

langfuse-docs's Introduction

GitHub Banner

Langfuse Docs

Repo for langfuse.com, based on Nextra

GitHub Codespaces

You can easily contribute to the docs using GitHub Codespaces. Just click on the "Code" button and select "Open with Codespaces". This will open a new Codespace with all the dependencies installed and the development server running.

Local Development

Pre-requisites: Node.js 20+, pnpm v9.5.0

  1. Optional: Create env based on .env.template
  2. Run pnpm i to install the dependencies.
  3. Run pnpm dev to start the development server on localhost:3333

Python cookbooks

All Jupyter notebooks are in the cookbook/ directory. For JS/TS notebooks we use Deno, see Readme in cookbook folder for more details.

To render them within the documentation site, we convert them to markdown using jupyter nbconvert, move them to right path in the pages/ directory where they are rendered by Nextra (remark).

Steps after updating notebooks:

  1. Load python shell/env which has jupyter installed, e.g. poetry install && poetry shell
  2. Run bash scripts/update_cookbook_docs.sh
  3. Commit the changed markdown files

Note: All .md files in the pages/ directory are automatically generated from Jupyter notebooks. Do not edit them manually as they will be overwritten. Always edit the Jupyter notebooks and run the conversion script.

Media

Images

We store all images in the public/images/ directory. To use them in the markdown files, use the abslute path /images/your-image.png.

Videos / Gifs

We use Cloudflare Video as a video hosting provider. Ping one of the maintainers to upload a video to Cloudflare Video and get the video id.

To embed a video, use the CloudflareVideo component and set a title and fixed aspect ratio.

To embed a "gif", actually embed a video via the CloudflareVideo component and use gifMode (<CloudflareVideo videoId="" gifMode />). This will look like a gif, but at a much smaller file size and higher quality.

Stack

Interested in stack of Q&A docs chatbot? Checkout the blog post for implementation details (all open source)

Bundle analysis

Run pnpm run analyze to analyze the bundle size of the production build using @next/bundle-analyzer.

langfuse-docs's People

Contributors

bbartels avatar cfrawert avatar christho23 avatar clemra avatar dependabot[bot] avatar diwakarkashyap avatar flxwu avatar gyliu513 avatar hassiebp avatar lawrenae avatar lydiagyou avatar marcklingen avatar marcosteinke avatar markedmondson1234 avatar marliessophie avatar matthieudelaro avatar mautini avatar maxdeichmann avatar mikeyshean avatar nichaley avatar rdosanjh avatar richardkruemmel avatar speedyankur avatar stephen37 avatar sudhanshu746 avatar tameemasim avatar udit-001 avatar ushuz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

langfuse-docs's Issues

feat: render list of Q&A and Ideas from GitHub discussions

Langfuse continues to centralize Q&A and feature requests on GitHub discussions. It'd be useful to render lists of the latest questions and most upvoted ideas on the respective pages in the docs

We could use SSR or ISR for this

  • as we release docs more than once a day, SSR would be enough probably
  • ISR makes builds faster and pages less stale

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.