Skip to content

Conversation

@charlwillia6
Copy link
Contributor

@charlwillia6 charlwillia6 commented Oct 15, 2024

  • Introduce Ollama local models as another alternative
  • Provide JSON configuration examples for Ollama models

image

- Introduce Ollama local models as another alternative
- Provide JSON configuration examples for Ollama models
@vercel
Copy link

vercel bot commented Oct 15, 2024

Someone is attempting to deploy a commit to the PearAI Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation-page-pearai-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 4:02am

@jpan8866
Copy link
Contributor

I suggest adding a step to clarify how to access the config file (see nang's blog on autocomplete: https://trypear.ai/blog/setting-up-auto-complete-on-pearai)

@jpan8866 jpan8866 self-requested a review October 17, 2024 22:32
@Fryingpannn
Copy link
Contributor

Yo would be great if can add screenshot 👀

Added screenshots and pro tips
@charlwillia6
Copy link
Contributor Author

@Fryingpannn Screenshot added to the first comment of this PR, and pro-tip and screenshots added to tab-autocomplete.mdx. Check out the screenshot!

@jpan8866
Copy link
Contributor

jpan8866 commented Oct 24, 2024

Why was mdxPageComponent added? i think this is deprecated. The page doesn't render with this plugin, fails with error: [ERROR] [Error [ValidationError]: "mdxPageComponent" is not allowed]

seems to work fine without it however

@charlwillia6
Copy link
Contributor Author

charlwillia6 commented Oct 24, 2024

Why was mdxPageComponent added? i think this is deprecated. The page doesn't render with this plugin, fails with error: [ERROR] [Error [ValidationError]: "mdxPageComponent" is not allowed]

seems to work fine without it however

@jpan8866 MDX pages are not deprecated and are a core part of Docusaurus.

There were no warnings on my end. How did you get this warning? What steps? I also didn't receive any errors when I served it. Pages rendered fine for me.

The only reason I used mdx pages is so I could use JSX/HTML because I wanted to do things I couldn't with markdown. If you want me to change them back, I will. Let me know and I'll update the PR later today.

@jpan8866
Copy link
Contributor

jpan8866 commented Oct 24, 2024

Why was mdxPageComponent added? i think this is deprecated. The page doesn't render with this plugin, fails with error: [ERROR] [Error [ValidationError]: "mdxPageComponent" is not allowed]
seems to work fine without it however

@jpan8866 MDX pages are not deprecated and are a core part of Docusaurus.

There were no warnings on my end. How did you get this warning? What steps? I also didn't receive any errors when I served it. Pages rendered fine for me.

The only reason I used mdx pages is so I could use JSX/HTML because I wanted to do things I couldn't with markdown. If you want me to change them back, I will. Let me know and I'll update the PR later today.

I pulled the changes and ran it locally, gives me the above error. I think the component should be added under the preset pages rather than docs, which makes the error go away for me. Anyhow I below mdxPageComponent is set to @theme/MDXPage by default, as even if I don't add this line, the .mdx file compiles just fine

-arobase

@charlwillia6
Copy link
Contributor Author

Updates have already been added. PR is no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants