ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 11.0

# *openai-api-key*

Variable, gpt package

Initially `nil`. When set-openai-api-key is called to set the key, the key also becomes the value of this variable.

In general, users should not set the value of this variable directly, but only as a side effect of calling set-openai-api-key.

See llm-api.html for general information on support for large language models in Allegro CL.

# *default-vector-database-dir*

Variable, gpt package

The default directory component of the pathnames of vector databases loaded with read-vector-database and written with write-vector-database.

The default value is `"."` (current working directory).

See llm-api.html for general information on support for large language models in Allegro CL.

# *default-vector-database-name*

Variable, gpt package

The default value for the name of a vector database read with read-vector-database and written with write-vector-database, initially `"sample-vector-database"`. If the keyword variable name is not specified, make-vector-database creates a vector database with this default name.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-ask-chat-model*

Variable, gpt package

The default OpenAI model for the function ask-chat, initially `"gpt-4"`.

The OpenAI API Reference provides authoratative information about the API parameter `model`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-best-of*

Variable, gpt package

The default value of the OpenAI API parameter `best_of`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when the value is non-`nil`.

Set *openai-default-best-of* to change the default behavior of chat

The OpenAI API Reference provides authoratative information about the API parameter `best_of`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-chat-model*

Variable, gpt package

The default model for the function chat, initially `"text-davinci-003"`.

The OpenAI API Reference provides authoratative information about the API parameter `model`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-echo*

Variable, gpt package

The default value of the OpenAI API parameter `echo`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when the value is non-`nil`.

Set *openai-default-echo* to change the default behavior of chat The OpenAI API Reference provides authoratative information about the API parameter `echo`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-fine-tune-model*

Variable, gpt package

The default model for fine-tuning, initially `"davinci"`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-frequency-penalty*

Variable, gpt package

The default value of the OpenAI API parameter `frequency_penalty`, initially 0.0.

Set *openai-default-frequency-penalty* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents, and chat

The OpenAI API Reference provides authoratative information about the API parameter `frequency_penalty`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-function-call*

Variable, gpt package

The default value of the OpenAI API parameter `function_call`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when it is non-`nil`.

Set *openai-default-function-call* to change the default behavior of ask-chat

The OpenAI API Reference provides authoratative information about the API parameter `function_call`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-functions*

Variable, gpt package

The default value of the OpenAI API parameter `functions`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when the value is non-`nil`.

Set *openai-default-functions* to change the default behavior of ask-chat.

The OpenAI API Reference provides authoratative information about the API parameter `functions`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-initial-delay*

Variable, gpt package

The default value in seconds, initially 0.25, for the function call-openai to delay before a retry, when the API returns a HTTP 429 code (API rate limit exceeded).

The function will retry with exponential backoff up to the the number of times set by the value *openai-default-retries*.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-logit-bias*

Variable, gpt package

The default value of the OpenAI API parameter `logit_bias`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when the value is non-`nil`.

Set *openai-default-logit-bias* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents, and chat.

The OpenAI API Reference provides authoratative information about the API parameter `logit_bias`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-logprobs*

Variable, gpt package

The default value of the OpenAI API parameter `logprobs`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when it is non-`nil`.

Set *openai-default-logprobs* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents, and chat

The OpenAI API Reference provides authoratative information about the API parameter `logprobs`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-max-tokens*

Variable, gpt package

The default value of the OpenAI API parameter `max_tokens`, initially 2048.

Set *openai-default-max-tokens* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents and chat.

The OpenAI API Reference provides authoratative information about the API parameter `max_tokens`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-min-score*

Variable, gpt package

The default value of the keyword argument min-score for the functions nn and ask-my-documents, initially 0.0.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-n*

Variable, gpt package

The default value of the OpenAI API parameter `n`, initially 1.

Set *openai-default-n* to change the default behavior of ask-chat and chat.

The OpenAI API Reference provides authoratative information about the API parameter `n`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-output-format*

Variable, gpt package

The default value of the OpenAI API parameter `output_format`, initially `:text`.

The default value of the keyword parameter output_format in ask-chat and chat.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-presence-penalty*

Variable, gpt package

The default value of the OpenAI API parameter `presence_penalty`, initially 0.0.

Set *openai-default-presence-penalty* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents, and chat The OpenAI API Reference provides authoratative information about the API parameter `presence_penalty`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-retries*

Variable, gpt package

The default number of times to retry an API call with call-openai, initially 4.

When the API returns a HTTP 429 code (API rate limit exceeded), the function call-openai will recursively call itself with exponential backoff up to the the number of times set by the value *openai-default-retries*.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-stop*

Variable, gpt package

Set *openai-default-stop* to change the default behavior of ask-chat and chat

The OpenAI API Reference provides authoratative information about the API parameter `stop`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-suffix*

Variable, gpt package

The default value of the OpenAI API parameter `suffix`, initially `nil`. This parameter is included in the HTML content JSON object of the API call when it is non-`nil`.

Set *openai-default-suffix* to change the default behavior of chat. The OpenAI API Reference provides authoratative information about the API parameter `suffix`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-temperature*

Variable, gpt package

The default value of the OpenAI API parameter `temperature`, initially 0.8.

Set *openai-default-temperature* to change the default behavior of ask-chat, ask-for-list, ask-for-map, ask-my-documents and chat.

The OpenAI API Reference provides authoratative information about the API parameter `temperature`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-timeout*

Variable, gpt package

The default value for a pending API request in call-openai to wait before signaling a timeout, in seconds. Initially 120.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-top-n*

Variable, gpt package

The default value for the keyword argument `top-n` in the functions nn and ask-my-documents, initially 10.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-top-p*

Variable, gpt package

The default value of the OpenAI API parameter `top_p`, initially 0.95.

Set *openai-default-top-p* to change the default behavior of ask-chat,ask-for-list, ask-for-map, ask-my-documents and chat.

The OpenAI API Reference provides authoratative information about `top_p`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *openai-default-user*

Variable, gpt package

The default value of the OpenAI API parameter `user`, initially `"anonymous"`.

See llm-api.html for general information on support for large language models in Allegro CL.

# *serp-default-top-n*

Variable, gpt package

The default maximum number of Serp API results to return. initially 10.

Set *serp-default-top-n* to change the default behavior of ask-serp.

# *serp-exclude-fields*

Variable, gpt package

The default list of JSON key values to whose values should be ignored in the results of a call to ask-serp.

Initially,

    (defvar *serp-exclude-fields*
      '(
        "about_page_link" "about_page_serpapi_link" "ads" "cached_page_link"
        "favicon" "high" "inline" "inline_images"
        "inline_people_also_search_for" "knowledge_graph_search_link" "low"
        "menu_items"
        "organic_results_state" "pagination" "people_also_search_for"
        "position" "price_movement" "query_displayed" "questions_and_answers"
        "related_questions" "related_searches" "search_metadata"
        "search_parameters" "see_more_serpapi_link"
        "serpapi_knowledge_graph_search_link" "serpapi_link"
        "serpapi_pagination" "siteLinks" "snippet_highlighted_words" "tabs"
        "twitter_results"))

# *serp-ordered-include-fields*

Variable, gpt package

The default list of JSON key values to whose values should be included in the results of a call to ask-serp, sorted in order of preference.

Initially,

    (defvar *serp-ordered-include-fields* '("answer" "definitions" "price" "result" "description" "snippet" "title"))

Copyright (c) Franz Inc. Lafayette, CA., USA. All rights reserved.

ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 11.0