Skip to content

Commit

Permalink
fix: copy over redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Jul 22, 2024
1 parent e5e8efd commit 1bfc989
Showing 1 changed file with 295 additions and 38 deletions.
333 changes: 295 additions & 38 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,44 +86,6 @@ tabs:
display-name: Cookbooks
slug: page

redirects:
- source: "/docs/llmu{/:path}*"
destination: "https://cohere.com/llmu"
- source: "/docs/multi-hop-tool-use"
destination: "/docs/multi-step-tool-use"
- source: "/docs/command"
destination: "/docs/command-r-plus"
- source: "/docs/prompt-engineering"
destination: "/docs/crafting-effective-prompts"
- source: "/docs/prompt-library"
destination: "/docs/create-csv-data-from-json-data"
- source: "/docs/rag-connectors"
destination: "/docs/overview-rag-connectors"
- source: "/docs/overview-1"
destination: "/docs/overview-rag-connectors"
- source: "/docs/reranking"
destination: "/docs/overview"
- source: "/reference/rerank-1"
destination: "/reference/rerank"
- source: "/docs/generation-card"
destination: "/docs/generation-benchmarks"
- source: "/reference/datasets"
destination: "/reference/create-dataset"
- source: "/reference/connectors"
destination: "/reference/list-connectors"
- source: "/reference/embed-jobs"
destination: "/reference/create-embed-job"
- source: "/reference/finetuning"
destination: "/reference/listfinetunedmodels"
- source: "/reference/model"
destination: "/reference/get-models"
- source: "/classify-reference"
destination: "reference/classify"
- source: "/reference/generate-1"
destination: "/reference/generate"
- source: "/reference/summarize-2"
destination: "/reference/summarize"

landing-page:
page: Cohere Documentation
path: pages/index.mdx
Expand Down Expand Up @@ -876,3 +838,298 @@ experimental:
mdx-components:
- ./components
- ./icons

redirects:
# fern redirect rules
- source: "/docs/llmu{/:path}*"
destination: "https://cohere.com/llmu"
- source: "/docs/multi-hop-tool-use"
destination: "/docs/multi-step-tool-use"
- source: "/docs/command"
destination: "/docs/command-r-plus"
- source: "/docs/prompt-engineering"
destination: "/docs/crafting-effective-prompts"
- source: "/docs/prompt-library"
destination: "/docs/create-csv-data-from-json-data"
- source: "/docs/rag-connectors"
destination: "/docs/overview-rag-connectors"
- source: "/docs/overview-1"
destination: "/docs/overview-rag-connectors"
- source: "/docs/reranking"
destination: "/docs/overview"
- source: "/reference/rerank-1"
destination: "/reference/rerank"
- source: "/docs/generation-card"
destination: "/docs/generation-benchmarks"
- source: "/reference/datasets"
destination: "/reference/create-dataset"
- source: "/reference/connectors"
destination: "/reference/list-connectors"
- source: "/reference/embed-jobs"
destination: "/reference/create-embed-job"
- source: "/reference/finetuning"
destination: "/reference/listfinetunedmodels"
- source: "/reference/model"
destination: "/reference/get-models"
- source: "/classify-reference"
destination: "reference/classify"
- source: "/reference/generate-1"
destination: "/reference/generate"
- source: "/reference/summarize-2"
destination: "/reference/summarize"

# migrated redirect rules
- source: /docs/sitemap.xml
destination: /sitemap.xml
- source: /api-reference
destination: /reference/about
- source: /bpe-tokens-wiki
destination: /docs/tokens
- source: /classify-content-mod
destination: /docs/content-moderation-with-classify
- source: /classify-reference
destination: /reference/classify
- source: /cli-auth
destination: /reference/auth
- source: /cli-finetune
destination: /reference/finetune
- source: /cli-key
destination: /reference/key
- source: /cli-model
destination: /reference/model
- source: /customer-support
destination: /reference/customer-support
- source: /custom-model-metrics
destination: /docs/custom-model-metrics
- source: /custom-model-troubleshooting
destination: /docs/training-troubleshooting
- source: /data-statement
destination: /docs/data-statement
- source: /detokenize-reference
destination: /reference/detokenize
- source: /docs/finetune-troubleshooting
destination: /docs/training-troubleshooting
- source: /docs/train-a-representation-model
destination: /docs/training-a-representation-model
- source: /embedding-wiki
destination: /docs/embeddings
- source: /embed-reference
destination: /reference/embed
- source: /entity-extraction
destination: /docs/entity-extraction
- source: /environmental-impact
destination: /docs/environmental-impact
- source: /errors-reference
destination: /reference/errors
- source: /finetuning-wiki
destination: /docs/training-custom-models
- source: /ft-wiki
destination: /docs/training-custom-models
- source: /generate-reference
destination: /reference/generate
- source: /generation-card
destination: /docs/generation-card
- source: /going-live
destination: /docs/going-live
- source: /harm-prevention
destination: /docs/responsible-use
- source: /intent-recognition
destination: /reference/intent-recognition
- source: /intro-to-llms
destination: /docs/introduction-to-large-language-models
- source: /learn
destination: /docs
- source: /likelihood-eval
destination: /docs/likelihood-evaluation
- source: /likelihood-wiki
destination: /docs/likelihood
- source: /num-gens-wiki
destination: /docs/number-of-generations
- source: /playground-overview
destination: /docs/playground-overview
- source: /prompt-engineering
destination: /docs/prompt-engineering
- source: /prompt-engineering-wiki
destination: /docs/prompt-engineering
- source: /reference/generate-2
destination: /reference/text-summarization-example
- source: /release-notes
destination: /changelog
- source: /representation-card
destination: /docs/representation-card
- source: /responsible-use
destination: /docs/responsible-use
- source: /semantic-search
destination: /docs/semantic-search
- source: /sentiment-analysis-example
destination: /docs/text-classification-with-classify
- source: /sentiment-analysis-guide
destination: /reference/sentiment-analysis
- source: /summarization_example
destination: /reference/text-summarization-example
- source: /teams-roles
destination: /reference/teams-and-roles
- source: /temperature-wiki
destination: /docs/temperature
- source: /text-classification
destination: /docs/text-classification-with-classify
- source: /text-classification-embeddings
destination: /docs/text-classification-with-embed
- source: /text-summarization-example
destination: /docs/text-summarization
- source: /tokenize-reference
destination: /reference/tokenize
- source: /token-picking
destination: /docs/controlling-generation-with-top-k-top-p
- source: /training-a-generative-model
destination: /docs/training-a-generative-model
- source: /training-custom-models
destination: /docs/training-custom-models
- source: /training-generation-models
destination: /docs/training-a-generative-model
- source: /training-representation-models
destination: /docs/training-a-representation-model
- source: /tutorials-and-guides
destination: /docs/the-cohere-platform
- source: /usage-guidelines
destination: /docs/usage-guidelines
- source: /versioning-reference
destination: /reference/versioning
- source: /api-reference
destination: /reference/about
- source: /bpe-tokens-wiki
destination: /docs/tokens
- source: /classify-content-mod
destination: /docs/content-moderation-with-classify
- source: /classify-reference
destination: /reference/classify
- source: /cli-auth
destination: /reference/auth
- source: /cli-finetune
destination: /reference/finetune
- source: /cli-key
destination: /reference/key
- source: /cli-model
destination: /reference/model
- source: /command
destination: /reference/command
- source: /customer-support
destination: /reference/customer-support
- source: /custom-model-metrics
destination: /docs/custom-model-metrics
- source: /custom-model-troubleshooting
destination: /docs/training-troubleshooting
- source: /data-statement
destination: /docs/data-statement
- source: /detokenize-reference
destination: /reference/detokenize
- source: /docs/finetune-troubleshooting
destination: /docs/training-troubleshooting
- source: /docs/train-a-representation-model
destination: /docs/training-a-representation-model
- source: /embedding-wiki
destination: /docs/embeddings
- source: /embed-reference
destination: /reference/embed
- source: /entity-extraction
destination: /docs/entity-extraction
- source: /environmental-impact
destination: /docs/environmental-impact
- source: /errors-reference
destination: /reference/errors
- source: /finetuning-representation-models/
destination: /docs/training-a-representation-model
- source: /finetuning-wiki
destination: /docs/training-custom-models
- source: /ft-wiki
destination: /docs/training-custom-models
- source: /generate-reference
destination: /reference/generate
- source: /generation-card
destination: /docs/generation-card
- source: /going-live
destination: /docs/going-live
- source: /harm-prevention
destination: /docs/responsible-use
- source: /intent-recognition
destination: /reference/intent-recognition
- source: /intro-to-llms
destination: /docs/introduction-to-large-language-models
- source: /intro-to-llms/
destination: /intro-to-llms
- source: /learn
destination: /docs
- source: /likelihood-eval
destination: /docs/likelihood-evaluation
- source: /likelihood-wiki
destination: /docs/likelihood
- source: /num-gens-wiki
destination: /docs/number-of-generations
- source: /playground-overview
destination: /docs/playground-overview
- source: /prompt-engineering
destination: /docs/prompt-engineering
- source: /prompt-engineering-wiki
destination: /docs/prompt-engineering
- source: /prompt-engineering-wiki/
destination: /docs/prompt-engineering
- source: /reference/generate-2
destination: /reference/text-summarization-example
- source: /release-notes
destination: /changelog
- source: /representation-card
destination: /docs/representation-card
- source: /responsible-use
destination: /docs/responsible-use
- source: /semantic-search
destination: /docs/semantic-search
- source: /semantic-search/
destination: /docs/semantic-search
- source: /sentiment-analysis-example
destination: /docs/text-classification-with-classify
- source: /sentiment-analysis-guide
destination: /reference/sentiment-analysis
- source: /summarization_example
destination: /reference/text-summarization-example
- source: /teams-roles
destination: /reference/teams-and-roles
- source: /temperature-wiki
destination: /docs/temperature
- source: /text-classification
destination: /docs/text-classification-with-classify
- source: /text-classification-embeddings
destination: /docs/text-classification-with-embed
- source: /text-classification-embeddings/
destination: /docs/text-classification-with-embed
- source: /text-summarization-example
destination: /docs/text-summarization
- source: /tokenize-reference
destination: /reference/tokenize
- source: /token-picking
destination: /docs/controlling-generation-with-top-k-top-p
- source: /token-picking/
destination: /docs/controlling-generation-with-top-k-top-p
- source: /training-a-generative-model
destination: /docs/training-a-generative-model
- source: /training-custom-models
destination: /docs/training-custom-models
- source: /training-generation-models
destination: /docs/training-a-generative-model
- source: /training-representation-models
destination: /docs/training-a-representation-model
- source: /tutorials-and-guides
destination: /docs/the-cohere-platform
- source: /usage-guidelines
destination: /docs/usage-guidelines
- source: /versioning-reference
destination: /reference/versioning
- source: /docs/coral-toolkit
destination: /docs/cohere-toolkit
- source: /docs/generation-card
destination: /docs/generation-benchmarks
- source: /docs/representation-card
destination: /docs/representation-benchmarks
- source: /docs/training-custom-models
destination: /docs/fine-tuning
- source: /docs/embed-2
destination: /docs/cohere-embed

0 comments on commit 1bfc989

Please sign in to comment.