|
@@ -14,7 +14,7 @@ app = App()
|
|
|
```
|
|
|
|
|
|
- `App` uses OpenAI's model, so these are paid models. 💸 You will be charged for embedding model usage and LLM usage.
|
|
|
-- `App` uses OpenAI's embedding model to create embeddings for chunks and ChatGPT API as LLM to get answer given the relevant docs. Make sure that you have an OpenAI account and an API key. If you have don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
+- `App` uses OpenAI's embedding model to create embeddings for chunks and ChatGPT API as LLM to get answer given the relevant docs. Make sure that you have an OpenAI account and an API key. If you don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
- `App` is opinionated. It uses the best embedding model and LLM on the market.
|
|
|
- Once you have the API key, set it in an environment variable called `OPENAI_API_KEY`
|
|
|
|
|
@@ -49,7 +49,7 @@ zuck_bot.query("Who owns the new threads app and when it was founded?")
|
|
|
```
|
|
|
|
|
|
- `Llama2App` uses Replicate's LLM model, so these are paid models. You can get the `REPLICATE_API_TOKEN` by registering on [their website](https://replicate.com/account).
|
|
|
-- `Llama2App` uses OpenAI's embedding model to create embeddings for chunks. Make sure that you have an OpenAI account and an API key. If you have don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
+- `Llama2App` uses OpenAI's embedding model to create embeddings for chunks. Make sure that you have an OpenAI account and an API key. If you don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
|
|
|
|
|
|
### OpenSourceApp
|
|
@@ -103,7 +103,7 @@ naval_chat_bot = PersonApp("name_of_person_or_character") #Like "Yoda"
|
|
|
```
|
|
|
|
|
|
- `PersonApp` uses OpenAI's model, so these are paid models. 💸 You will be charged for embedding model usage and LLM usage.
|
|
|
-- `PersonApp` uses OpenAI's embedding model to create embeddings for chunks and ChatGPT API as LLM to get answer given the relevant docs. Make sure that you have an OpenAI account and an API key. If you have don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
+- `PersonApp` uses OpenAI's embedding model to create embeddings for chunks and ChatGPT API as LLM to get answer given the relevant docs. Make sure that you have an OpenAI account and an API key. If you don't have an API key, you can create one by visiting [this link](https://platform.openai.com/account/api-keys).
|
|
|
- Once you have the API key, set it in an environment variable called `OPENAI_API_KEY`
|
|
|
|
|
|
```python
|