From 992812ffb651d4d854c1c772e874071e8869ccaf Mon Sep 17 00:00:00 2001 From: avishag Date: Mon, 18 Nov 2024 15:48:17 +0200 Subject: [PATCH 1/9] Add Model Selection and some fixes --- docs/chat/best-practices.md | 6 +++++ docs/chat/chat-history.md | 8 +++---- docs/chat/commands/ask.md | 2 +- docs/chat/model-selection.md | 41 ++++++++++++++++++++++++++++++++++ mkdocs.yml | 3 ++- overrides/partials/footer.html | 2 +- 6 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 docs/chat/best-practices.md create mode 100644 docs/chat/model-selection.md diff --git a/docs/chat/best-practices.md b/docs/chat/best-practices.md new file mode 100644 index 0000000..204ce4a --- /dev/null +++ b/docs/chat/best-practices.md @@ -0,0 +1,6 @@ +Introducing support for best practices: + +Qodo Gen now reads a best_practices.md file from the root of the project. when interacting with the chat, Qodo Gen takes into account those best practices when suggesting code. +It currently supports all free chat and code chat commands. +It does not support diff commands, advanced panel test generation, and code completion. +Qodo Gen supports up to 1500 lines in the best practices file. \ No newline at end of file diff --git a/docs/chat/chat-history.md b/docs/chat/chat-history.md index d7b73b7..3efb865 100644 --- a/docs/chat/chat-history.md +++ b/docs/chat/chat-history.md @@ -5,14 +5,14 @@ title: Chat History # :fontawesome-solid-comments: Chat History ## Overview -Codiumate Chat maintains a history of your 20 most recent conversations, allowing you to review past interactions, refresh your memory, or explore new topics. You can continue a past chat to dive deeper into a topic or request additional information. +Qodo Gen Chat maintains a history of your 20 most recent conversations, allowing you to review past interactions, refresh your memory, or explore new topics. You can continue a past chat to dive deeper into a topic or request additional information. ## Using Chat History 1. **Initiate a Command:** Call a command by typing it in the chatbox. -2. **Continue the Conversation:** At the end of Codiumate's response, continue the conversation as long as you wish. Codiumate will maintain the context of your initial query, providing tailored responses to your follow-up questions. -3. **Start a new Conversation:** Click on the "New Chat" button on the top right of the chat interface to start a new conversation. Your current chat history will be cleared, and Codiumate will be ready to start a new conversation. -4. **Check your Chat History:** Next to the "New Chat" button, find the History button and click on it. The Chat History interface will open. You can see your latest 20 chats with Codiumate, switch to each one and continue the conversation if you wish. +2. **Continue the Conversation:** At the end of Qodo Gen's response, continue the conversation as long as you wish. Qodo Gen will maintain the context of your initial query, providing tailored responses to your follow-up questions. +3. **Start a new Conversation:** Click on the "New Chat" button on the top right of the chat interface to start a new conversation. Your current chat history will be cleared, and Qodo Gen will be ready to start a new conversation. +4. **Check your Chat History:** Next to the "New Chat" button, find the History button and click on it. The Chat History interface will open. You can see your latest 20 chats with Qodo Gen, switch to each one and continue the conversation if you wish. Currently, your chat history wouldn't be saved between sessions, and will be deleted once you close VSCode. We are working on adding this feature in the future. Stay tuned! diff --git a/docs/chat/commands/ask.md b/docs/chat/commands/ask.md index 1936874..437f351 100644 --- a/docs/chat/commands/ask.md +++ b/docs/chat/commands/ask.md @@ -12,7 +12,7 @@ To use the `/ask` command, follow these steps: 2. **Initiate the Command**: Type `/ask` followed by your question in the chat interface. Qodo Gen will process your query and return a response tailored to the context of your selected mode and focus. -3. **Continue the Chat**: If you require further assistance or have additional questions, continue your conversation in the same chat. Codiumate will maintain the context of your initial query, providing tailored responses to your follow-up questions. +3. **Continue the Chat**: If you require further assistance or have additional questions, continue your conversation in the same chat. Qodo Gen will maintain the context of your initial query, providing tailored responses to your follow-up questions. !!! success "Available in" - [:fontawesome-solid-file-code: Current File focus](../focus/current-file.md) diff --git a/docs/chat/model-selection.md b/docs/chat/model-selection.md new file mode 100644 index 0000000..b339ff5 --- /dev/null +++ b/docs/chat/model-selection.md @@ -0,0 +1,41 @@ +--- +title: Model Selection +--- + +# :fontawesome-solid-list-check: Model Selection + +## Overview + +Unleash the full potential of AI. + +Seamlessly switch between the world's most advanced AI models in real-time to get the best, most relevant chat experience for your query. + +## Available Models + +1. **GPT-4.0** - The gold standard for advanced reasoning. Reliable for everyday, iterative coding tasks requiring up-to-date knowledge. +2. **GPT-o1-preview** - Enhanced reasoning and extensive knowledge base. Ideal for planning, difficult debugging, and deep reasoning about code. +3. **GPT-o1-mini** - Lightning-fast coding specialist, optimized for efficiency. Best for quick +4. **Claude 3.5 Sonnet** - Anthropic's latest, built for precision. Ideal for everyday coding tasks with excellent flexibility and speed. +5. **Gemini 1.5 Pro** - Google's cutting-edge multimodel AI. Best suited for tasks that need the whole project in context, such as large-scale refactoring or generating project-wide documentation. + +## Using Model Selection + +Select a model from the dropdown menu on the bottom left below the chatbox. +The selected model will be used for your next query. + +## Examples + +!!! example "Selecting Models" + ![Model Selection](https://www.qodo.ai/images/qodo-gen-gifs/ModelSelection.gif){width=700, loading=lazy} + +!!! example "GPT-4.0" + ![Model Selection](https://www.qodo.ai/images/qodo-gen-gifs/GPT4o.gif){width=700, loading=lazy} + +!!! example "GPT-o1-preview" + ![Model Selection](https://www.qodo.ai/images/qodo-gen-gifs/O1preview.gif){width=700, loading=lazy} + +!!! example "Claude 3.5 Sonnet" + ![Model Selection](https://www.qodo.ai/images/qodo-gen-gifs/sonnet35.gif){width=700, loading=lazy} + +!!! example "Gemini 1.5 Pro" + ![Model Selection](https://www.qodo.ai/images/qodo-gen-gifs/gemini15.gif){width=700, loading=lazy} diff --git a/mkdocs.yml b/mkdocs.yml index fc04b63..5e79cdf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,6 +27,7 @@ nav: - Current File: 'chat/focus/current-file.md' - Git Diff: 'chat/focus/git-diff.md' - Add Extra Context: 'chat/add-context.md' + - Images: 'chat/images.md' - Commands: - 'chat/commands/index.md' - /ask: 'chat/commands/ask.md' @@ -45,7 +46,7 @@ nav: - /changelog: 'chat/commands/update-changelog.md' - Coding-Agent: 'chat/coding-agent.md' - Chat History: 'chat/chat-history.md' - - Images: 'chat/images.md' + - Model Selection: 'chat/model-selection.md' - Code Completion: - 'code-completion/index.md' diff --git a/overrides/partials/footer.html b/overrides/partials/footer.html index 8473401..844e684 100644 --- a/overrides/partials/footer.html +++ b/overrides/partials/footer.html @@ -86,7 +86,7 @@