Ver código fonte

Docs:Updated langfuse guide (#7583)

### What problem does this PR solve?

### Type of change

- [x] Documentation Update
tags/v0.19.0
writinwaters 5 meses atrás
pai
commit
d05e8a173d
Nenhuma conta vinculada ao e-mail do autor do commit

+ 2
- 2
docs/develop/mcp/launch_mcp_server.md Ver arquivo



#### Launch an MCP server without upgrading RAGFlow #### Launch an MCP server without upgrading RAGFlow


:::tip KUDOS-TO
This section is contributed by our community contributor **yiminghub2024**. 👏
:::info KUDOS
This section is contributed by our community contributor [yiminghub2024](https://github.com/yiminghub2024). 👏
::: :::


1. Prepare all MCP-specific files and directories. 1. Prepare all MCP-specific files and directories.

+ 5
- 1
docs/guides/agent/text2sql_agent.md Ver arquivo



# Create a Text2SQL agent # Create a Text2SQL agent


Build a Text2SQL agent leveraging RAGFlow's RAG capabilities. Contributed by @TeslaZY.
Build a Text2SQL agent leveraging RAGFlow's RAG capabilities.

:::info KUDOS
This document is contributed by our community contributor [TeslaZY](https://github.com/TeslaZY). 👏
:::


## Scenario ## Scenario



+ 11
- 3
docs/guides/tracing.mdx Ver arquivo

slug: /tracing slug: /tracing
--- ---


# Observability & Tracing with Langfuse
# Tracing

Observability & Tracing with Langfuse.

---

:::info KUDOS
This document is contributed by our community contributor [jannikmaierhoefer](https://github.com/jannikmaierhoefer). 👏
:::


RAGFlow ships with a built-in [Langfuse](https://langfuse.com) integration so that you can **inspect and debug every retrieval and generation step** of your RAG pipelines in near real-time. RAGFlow ships with a built-in [Langfuse](https://langfuse.com) integration so that you can **inspect and debug every retrieval and generation step** of your RAG pipelines in near real-time.


3. Fill in you Langfuse **Host**, **Public Key** and **Secret Key**. 3. Fill in you Langfuse **Host**, **Public Key** and **Secret Key**.
4. Click **Save**. 4. Click **Save**.


![Example Ragflow trace in Langfuse](https://langfuse.com/images/docs/ragflow/ragflow-configuration.gif)
![Example RAGFlow trace in Langfuse](https://langfuse.com/images/docs/ragflow/ragflow-configuration.gif)


Once saved, RAGFlow starts emitting traces automatically – no code change required. Once saved, RAGFlow starts emitting traces automatically – no code change required.


• **spans** for retrieval, ranking and generation steps • **spans** for retrieval, ranking and generation steps
• the complete **prompts**, **retrieved documents** and **LLM responses** as metadata • the complete **prompts**, **retrieved documents** and **LLM responses** as metadata


![Example Ragflow trace in Langfuse](https://langfuse.com/images/docs/ragflow/ragflow-trace-frame.png)
![Example RAGFlow trace in Langfuse](https://langfuse.com/images/docs/ragflow/ragflow-trace-frame.png)


([Example trace in Langfuse](https://cloud.langfuse.com/project/cloramnkj0002jz088vzn1ja4/traces/0bde9629-4251-4386-b583-26101b8e7561?timestamp=2025-05-09T19%3A15%3A37.797Z&display=details&observation=823997d8-ac40-40f3-8e7b-8aa6753b499e)) ([Example trace in Langfuse](https://cloud.langfuse.com/project/cloramnkj0002jz088vzn1ja4/traces/0bde9629-4251-4386-b583-26101b8e7561?timestamp=2025-05-09T19%3A15%3A37.797Z&display=details&observation=823997d8-ac40-40f3-8e7b-8aa6753b499e))



Carregando…
Cancelar
Salvar