|
1 | 1 | import { EmbeddingEvent } from '@posthog/shared-onboarding/llm-analytics/_snippets/embedding-event' |
2 | 2 | import { GenerationEvent } from '@posthog/shared-onboarding/llm-analytics/_snippets/generation-event' |
| 3 | +import { NotableGenerationProperties } from '@posthog/shared-onboarding/llm-analytics/_snippets/notable-generation-properties' |
3 | 4 | import { SpanEvent } from '@posthog/shared-onboarding/llm-analytics/_snippets/span-event' |
4 | 5 | import { TraceEvent } from '@posthog/shared-onboarding/llm-analytics/_snippets/trace-event' |
5 | 6 | import { AnthropicInstallation } from '@posthog/shared-onboarding/llm-analytics/anthropic' |
@@ -30,57 +31,57 @@ function LLMManualInstructions(): JSX.Element { |
30 | 31 | ) |
31 | 32 | } |
32 | 33 |
|
33 | | -function LLMOpenAIInstructions(): JSX.Element { |
| 34 | +function LLMAnthropicInstructions(): JSX.Element { |
34 | 35 | return ( |
35 | | - <OnboardingDocsContentWrapper> |
36 | | - <OpenAIInstallation /> |
| 36 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
| 37 | + <AnthropicInstallation /> |
37 | 38 | </OnboardingDocsContentWrapper> |
38 | 39 | ) |
39 | 40 | } |
40 | 41 |
|
41 | | -function LLMAnthropicInstructions(): JSX.Element { |
| 42 | +function LLMOpenAIInstructions(): JSX.Element { |
42 | 43 | return ( |
43 | | - <OnboardingDocsContentWrapper> |
44 | | - <AnthropicInstallation /> |
| 44 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
| 45 | + <OpenAIInstallation /> |
45 | 46 | </OnboardingDocsContentWrapper> |
46 | 47 | ) |
47 | 48 | } |
48 | 49 |
|
49 | 50 | function LLMGoogleInstructions(): JSX.Element { |
50 | 51 | return ( |
51 | | - <OnboardingDocsContentWrapper> |
| 52 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
52 | 53 | <GoogleInstallation /> |
53 | 54 | </OnboardingDocsContentWrapper> |
54 | 55 | ) |
55 | 56 | } |
56 | 57 |
|
57 | 58 | function LLMOpenRouterInstructions(): JSX.Element { |
58 | 59 | return ( |
59 | | - <OnboardingDocsContentWrapper> |
| 60 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
60 | 61 | <OpenRouterInstallation /> |
61 | 62 | </OnboardingDocsContentWrapper> |
62 | 63 | ) |
63 | 64 | } |
64 | 65 |
|
65 | 66 | function LLMLangChainInstructions(): JSX.Element { |
66 | 67 | return ( |
67 | | - <OnboardingDocsContentWrapper> |
| 68 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
68 | 69 | <LangChainInstallation /> |
69 | 70 | </OnboardingDocsContentWrapper> |
70 | 71 | ) |
71 | 72 | } |
72 | 73 |
|
73 | 74 | function LLMLiteLLMInstructions(): JSX.Element { |
74 | 75 | return ( |
75 | | - <OnboardingDocsContentWrapper> |
| 76 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
76 | 77 | <LiteLLMInstallation /> |
77 | 78 | </OnboardingDocsContentWrapper> |
78 | 79 | ) |
79 | 80 | } |
80 | 81 |
|
81 | 82 | function LLMVercelAIInstructions(): JSX.Element { |
82 | 83 | return ( |
83 | | - <OnboardingDocsContentWrapper> |
| 84 | + <OnboardingDocsContentWrapper snippets={{ NotableGenerationProperties }}> |
84 | 85 | <VercelAIInstallation /> |
85 | 86 | </OnboardingDocsContentWrapper> |
86 | 87 | ) |
|
0 commit comments