I am sitting here, learning LlamaIndex, using obsidian and ChatGPT MD plugin to ask questions.
I create a note with the following front matter and ask the question and get a nice answer:
---
title: Understanding LlamaIndex
links:
- "[[LLM]]"
- "[[AI]]"
- "[[LlamaIndex]]"
- "[[Understanding LlamaIndex]]"
modified: 2023-09-10T21:50:18+03:00
model: gpt-4-0613
---
tell me about [[LlamaIndex]]
<hr class="__chatgpt_plugin">
role::assistant
LlamaIndex is a Python library that provides a set of tools for connecting, indexing, and querying data from multiple sources. It is designed to work with LLMs (Language Learning Models) and helps in presenting the data in a structured and organized manner.
Here is a simple example of how you can use LlamaIndex:
```python
from llama_index import LlamaIndex
# Initialize LlamaIndex
index = LlamaIndex()
# Connect to a data source (e.g., a CSV file)
index.connect('path_to_your_file.csv')
# Index the data
index.index()
# Query the data
results = index.query('your_query_here')
\```
The `connect` method is used to connect to a data source. This could be a local file (like a CSV or JSON file), a database, or even a remote API.
The `index` method is used to index the data. This involves processing the data and organizing it in a way that makes it easy to search and query.
The `query` method is used to query the data. You can pass in a string, and it will return any records that match the query.
LlamaIndex also supports more complex features, like filtering and sorting data, aggregating data, and more. It's a powerful tool for working with data in Python.
<hr class="__chatgpt_plugin">
role::user
After 5 minute i create another note, fill it in with the same front matter, GPT-4 suddenly gets dumbed down to GPT-3.5 and this is the response:
---
title: Understanding LlamaIndex
links:
- "[[LLM]]"
- "[[AI]]"
- "[[LlamaIndex]]"
- "[[Understanding LlamaIndex]]"
modified: 2023-09-10T22:49:02+03:00
model: gpt-4-0613
---
tell me about [[LlamaIndex]]
<hr class="__chatgpt_plugin">
## role::assistant
I'm sorry, but I couldn't find any specific information on "LlamaIndex". It might be a typo or a term specific to a certain field or industry. If you could provide more context, I would be happy to help you find the information you're looking for.
<hr class="__chatgpt_plugin">
Are you billing for GPT-4 but serving GPT-3.5 here and there ???