🤖 docs(assistants): Additional Setup & Tool Selection Info (#1798)

This commit is contained in:
Danny Avila 2024-02-13 22:24:24 -05:00 committed by GitHub
parent d947244348
commit 04af1cad52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 9 deletions

View file

@ -46,7 +46,7 @@ DEBUG_CONSOLE=false
# Endpoints # # Endpoints #
#===================================================# #===================================================#
# ENDPOINTS=openAI,azureOpenAI,bingAI,chatGPTBrowser,google,gptPlugins,anthropic # ENDPOINTS=openAI,assistants,azureOpenAI,bingAI,chatGPTBrowser,google,gptPlugins,anthropic
PROXY= PROXY=

View file

@ -13,7 +13,6 @@ import ToolItem from './ToolItem';
function ToolSelectDialog({ function ToolSelectDialog({
isOpen, isOpen,
setIsOpen, setIsOpen,
assistant_id,
}: TPluginStoreDialogProps & { assistant_id?: string }) { }: TPluginStoreDialogProps & { assistant_id?: string }) {
const localize = useLocalize(); const localize = useLocalize();
const { getValues, setValue } = useFormContext(); const { getValues, setValue } = useFormContext();
@ -152,11 +151,9 @@ function ToolSelectDialog({
<Dialog.Title className="text-lg font-medium leading-6 text-gray-900 dark:text-gray-200"> <Dialog.Title className="text-lg font-medium leading-6 text-gray-900 dark:text-gray-200">
{localize('com_nav_tool_dialog')} {localize('com_nav_tool_dialog')}
</Dialog.Title> </Dialog.Title>
{!assistant_id && ( <Dialog.Description className="text-sm text-gray-500 dark:text-gray-300">
<Dialog.Description className="text-sm text-gray-500 dark:text-gray-300"> {localize('com_nav_tool_dialog_description')}
{localize('com_nav_tool_dialog_description')} </Dialog.Description>
</Dialog.Description>
)}
</div> </div>
</div> </div>
<div> <div>

View file

@ -64,7 +64,7 @@ In the case where you have multiple endpoints setup, but want a specific one to
```bash ```bash
# .env file # .env file
# No spaces between values # No spaces between values
ENDPOINTS=azureOpenAI,openAI,google ENDPOINTS=azureOpenAI,openAI,assistants,google
``` ```
Note that LibreChat will use your last selected endpoint when creating a new conversation. So if Azure OpenAI is first in the order, but you used or view an OpenAI conversation last, when you hit "New Chat," OpenAI will be selected with its default conversation settings. Note that LibreChat will use your last selected endpoint when creating a new conversation. So if Azure OpenAI is first in the order, but you used or view an OpenAI conversation last, when you hit "New Chat," OpenAI will be selected with its default conversation settings.
@ -138,6 +138,7 @@ ASSISTANTS_BASE_URL=http://your-alt-baseURL:3080/
- gpt-4-1106-preview - gpt-4-1106-preview
- gpt-3.5-turbo-1106 - gpt-3.5-turbo-1106
- Vision capability is not yet supported. - Vision capability is not yet supported.
- If you have previously set the [`ENDPOINTS` value in your .env file](./dotenv.md#endpoints), you will need to add the value `assistants`
--- ---

View file

@ -124,7 +124,7 @@ In this section you can configure the endpoints and models selection, their API
- `PROXY` is to be used by all endpoints (leave blank by default) - `PROXY` is to be used by all endpoints (leave blank by default)
```bash ```bash
ENDPOINTS=openAI,azureOpenAI,bingAI,chatGPTBrowser,google,gptPlugins,anthropic ENDPOINTS=openAI,assistants,azureOpenAI,bingAI,chatGPTBrowser,google,gptPlugins,anthropic
PROXY= PROXY=
``` ```
@ -377,6 +377,8 @@ ASSISTANTS_MODELS=gpt-3.5-turbo-0125,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo-16k,gp
ASSISTANTS_BASE_URL=http://your-alt-baseURL:3080/ ASSISTANTS_BASE_URL=http://your-alt-baseURL:3080/
``` ```
- If you have previously set the [`ENDPOINTS` value in your .env file](#endpoints), you will need to add the value `assistants`
- There is additional, optional configuration, depending on your needs, such as disabling the assistant builder UI, and determining which assistants can be used, that are available via the [`librechat.yaml` custom config file](./custom_config.md#assistants-endpoint-object-structure). - There is additional, optional configuration, depending on your needs, such as disabling the assistant builder UI, and determining which assistants can be used, that are available via the [`librechat.yaml` custom config file](./custom_config.md#assistants-endpoint-object-structure).
### OpenRouter ### OpenRouter