> For the complete documentation index, see [llms.txt](https://famswaps-organization.gitbook.io/famswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://famswaps-organization.gitbook.io/famswap/aigc-famgpt.md).

# AIGC：FAMGPT

<figure><img src="/files/7GlvF5TqlnAqkX1TUgAy" alt=""><figcaption></figcaption></figure>

With the ChatGPT API interface, the following functions can be implemented in the FamSwap DApp:

1. Chat Conversations: Engage in real-time Q\&A and conversations with FAMGPT. Ask questions, seek advice, find information, or simply have a casual chat.
2. Real-Time Market Data: Display current cryptocurrency market data, including prices, trading volumes, and price fluctuations, in the floating window. Help users quickly check market trends without leaving the trading interface.
3. Trading Guidance: The floating window provides trading guidance and recommendations, offering real-time trading advice based on the current market conditions and user investment preferences.
4. User Support and Feedback: Users can send feedback and inquiries through the floating window to receive technical support or provide suggestions for product improvements.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://famswaps-organization.gitbook.io/famswap/aigc-famgpt.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
