You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update configuration and documentation for improved clarity and functionality
- Added `api_key` field to `config.json` for better configuration management.
- Updated `default_model` in `config.json` to ensure consistency.
- Enhanced `README.md` with notes on model usage and API key management.
- Revised `api-reference.md` to clarify endpoint statuses and planned features.
- Updated `deployment.md` to reflect changes in application startup commands.
- Improved `faq.md` and `features.md` for better user guidance and feature clarity.
Copy file name to clipboardExpand all lines: docs/faq.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ No, the wrapper needs to connect to the DeepSeek API servers, which requires an
34
34
## Usage
35
35
36
36
### How do I start a new conversation?
37
-
In the web UI, click the "New Chat" button in the sidebar. In the API, make a request without specifying a conversation ID to start a new one.
37
+
In the web UI, click the "New Chat" button in the sidebar. Programmatically, post to `/chat` with a `user_message` form field to begin a session-backed exchange.
38
38
39
39
### Can I upload files to provide context?
40
40
Yes, you can upload PDF, DOCX, and TXT files using the file upload button next to the input field. The content will be processed and included in the context for your next message.
@@ -43,7 +43,7 @@ Yes, you can upload PDF, DOCX, and TXT files using the file upload button next t
43
43
In the web UI, click the settings icon and enter your system prompt in the appropriate field. In the API, include the `system_prompt` parameter in your request.
44
44
45
45
### Can I export my conversations?
46
-
Currently, there's no built-in export feature, but this is planned for a future release.
46
+
Currently, there's no built-in export feature. X Planned for a future release.
47
47
48
48
## Troubleshooting
49
49
@@ -76,10 +76,10 @@ See the [CONTRIBUTING.md](CONTRIBUTING.md) file for guidelines on how to contrib
76
76
Yes, the frontend is built with HTML, CSS, and JavaScript. You can modify or extend it by editing the templates and static files.
77
77
78
78
### How do I add support for a new file format?
79
-
To add support for a new file format, you'll need to implement a parser in the `document_processor.py` file and register it in the file type handlers.
79
+
Add support in `src/deepseek_wrapper/web.py` within `extract_text_from_file`to parse the new type, and extend upload handling if needed.
80
80
81
81
### Is there an API for programmatic access?
82
-
Yes, you can use the Python client API or make HTTP requests directly to the REST API endpoints. See the [API Reference](api-reference.md) for details.
82
+
Yes. Use the Python client API, or the implemented FastAPI endpoints documented in the [API Reference](api-reference.md). Some broader REST endpoints are X planned.
0 commit comments