Skip to content
Snippets Groups Projects
Commit 56020b4b authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

docs: added mistral AI

parent 62e29d5a
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ LlamaIndex.TS aims to be a lightweight, easy to use set of libraries to help you ...@@ -12,7 +12,7 @@ LlamaIndex.TS aims to be a lightweight, easy to use set of libraries to help you
## Getting started with an example: ## Getting started with an example:
LlamaIndex.TS requries Node v18 or higher. You can download it from https://nodejs.org or use https://nvm.sh (our preferred option). LlamaIndex.TS requires Node v18 or higher. You can download it from https://nodejs.org or use https://nvm.sh (our preferred option).
In a new folder: In a new folder:
...@@ -86,7 +86,7 @@ Check out our NextJS playground at https://llama-playground.vercel.app/. The sou ...@@ -86,7 +86,7 @@ Check out our NextJS playground at https://llama-playground.vercel.app/. The sou
## Note: NextJS: ## Note: NextJS:
If you're using NextJS App Router, you'll need to use the NodeJS runtime (default) and add the follow config to your next.config.js to have it use imports/exports in the same way Node does. If you're using NextJS App Router, you'll need to use the NodeJS runtime (default) and add the following config to your next.config.js to have it use imports/exports in the same way Node does.
```js ```js
export const runtime = "nodejs"; // default export const runtime = "nodejs"; // default
...@@ -96,6 +96,15 @@ export const runtime = "nodejs"; // default ...@@ -96,6 +96,15 @@ export const runtime = "nodejs"; // default
// next.config.js // next.config.js
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
sharp$: false,
"onnxruntime-node$": false,
mongodb$: false,
};
return config;
},
experimental: { experimental: {
serverComponentsExternalPackages: ["pdf-parse"], // Puts pdf-parse in actual NodeJS mode with NextJS App Router serverComponentsExternalPackages: ["pdf-parse"], // Puts pdf-parse in actual NodeJS mode with NextJS App Router
}, },
...@@ -109,6 +118,7 @@ module.exports = nextConfig; ...@@ -109,6 +118,7 @@ module.exports = nextConfig;
- OpenAI GPT-3.5-turbo and GPT-4 - OpenAI GPT-3.5-turbo and GPT-4
- Anthropic Claude Instant and Claude 2 - Anthropic Claude Instant and Claude 2
- Llama2 Chat LLMs (70B, 13B, and 7B parameters) - Llama2 Chat LLMs (70B, 13B, and 7B parameters)
- MistralAI Chat LLMs
## Contributing: ## Contributing:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment