Skip to content

Commit

Permalink
Update Documents (#1268)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Documentation Update

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
  • Loading branch information
JinHai-CN authored May 31, 2024
1 parent 5dca233 commit dd28326
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
</p>

<h4 align="center">
<a href="https://github.com/infiniflow/infinity/issues/338">Roadmap 2024</a> |
<a href="https://infiniflow.org/docs/dev/category/get-started">Document</a> |
<a href="https://infiniflow.org/docs/dev/benchmark">Benchmark</a> |
<a href="https://twitter.com/infiniflowai">Twitter</a> |
<a href="https://discord.gg/jEfRUwEYEV">Discord</a> |
<a href="https://www.youtube.com/@InfiniFlow-AI">YouTube</a> |
<a href="https://discord.gg/jEfRUwEYEV">Discord</a>
</h4>


Infinity is a cutting-edge AI-native database that provides a wide range of search capabilities for rich data types such as vectors, full-text, and structured data. It provides robust support for various LLM applications, including search, recommenders, question-answering, conversational AI, copilot, content generation, and many more **RAG** (Retrieval-augmented Generation) applications.

- [Key Features](#-key-features)
- [Get Started](#-get-started)
- [Document](#-document)
- [Roadmap](#-roadmap)
- [Community](#-community)

Expand All @@ -29,10 +30,10 @@ Infinity comes with high performance, flexibility, ease-of-use, and many feature

### ⚡️ Incredibly fast

- Achieves 0.1 milliseconds query latency on million-scale vector datasets.
- Up to 15K QPS on million-scale vector datasets.
- Achieves 0.1 milliseconds query latency and 15K+ QPS on million-scale vector datasets.
- Achieves 1 millisecond latency and 12K+ QPS in full-text search on 33M documents.

> See the [Benchmark report](./docs/references/benchmark.md) for more information.
> See the [Benchmark report](https://infiniflow.org/docs/dev/benchmark) for more information.

### 🔮 Fused search
Expand All @@ -45,7 +46,7 @@ Supports a wide range of data types including strings, numerics, vectors, and mo

### 🎁 Ease-of-use

- Intuitive Python API. See the [Python API](docs/references/pysdk_api_reference.md)
- Intuitive Python API. See the [Python API](https://infiniflow.org/docs/dev/python_api_reference)
- A single-binary architecture with no dependencies, making deployment a breeze.

## 🎮 Get Started
Expand Down Expand Up @@ -77,7 +78,7 @@ sudo systemctl start infinity
```
#### 🛠️ Build from Source

See [Build from Source](docs/getstarted/build_from_source.md).
See [Build from Source](https://infiniflow.org/docs/dev/build_from_source).

### Install Infinity's Python client

Expand Down Expand Up @@ -118,12 +119,7 @@ db = infinity_obj.get_database("default_db")
# Drop my_table if it already exists
db.drop_table("my_table", ConflictType.Ignore)
# Create a table named "my_table"
table = db.create_table(
"my_table", {
"num": {"type": "integer"},
"body": {"type": "varchar"},
"vec": {"type": "vector, 4, float"}
})
table = db.create_table("my_table", {"num": {"type": "integer"}, "body": {"type": "varchar"}, "vec": {"type": "vector, 4, float"}})
```


Expand All @@ -142,8 +138,15 @@ res = table.output(["*"]).knn("vec", [3.0, 2.8, 2.7, 3.1], "float", "ip", 2).to_
print(res)
```

> 💡 For more information about the Python API, see the [Python API Reference](docs/references/pysdk_api_reference.md).
> 💡 For more information about the Python API, see the [Python API Reference](https://infiniflow.org/docs/dev/python_api_reference).
## Document

- [Quickstart](https://infiniflow.org/docs/dev/)
- [Python API](https://infiniflow.org/docs/dev/python_api_reference)
- [HTTP API](https://infiniflow.org/docs/dev/http_api_reference)
- [Reference](https://ragflow.io/docs/dev/category/references)
- [FAQ](https://ragflow.io/docs/dev/faq)

## 📜 Roadmap

Expand All @@ -154,4 +157,4 @@ See the [Infinity Roadmap 2024](https://github.com/infiniflow/infinity/issues/33
- [Discord](https://discord.gg/jEfRUwEYEV)
- [Twitter](https://twitter.com/infiniflowai)
- [GitHub Discussions](https://github.com/infiniflow/infinity/discussions)
- [YouTube](https://www.youtube.com/@InfiniFlow-AI)

7 changes: 1 addition & 6 deletions docs/getstarted/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ db = infinity_obj.get_database("default_db")
# Drop my_table if it already exists
db.drop_table("my_table", ConflictType.Ignore)
# Create a table named "my_table"
table = db.create_table(
"my_table", {
"num": {"type": "integer"},
"body": {"type": "varchar"},
"vec": {"type": "vector, 4, float"}
})
table = db.create_table("my_table", {"num": {"type": "integer"}, "body": {"type": "varchar"}, "vec": {"type": "vector, 4, float"}})
```

## Insert two records
Expand Down
2 changes: 1 addition & 1 deletion docs/references/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 2
slug: /FAQ
---

## Extensive Reading: Frequently Asked Questions
# Frequently asked questions

## What is Retrieval-Augmented Generation?

Expand Down
2 changes: 1 addition & 1 deletion docs/references/http_api_reference.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /html_api_reference
slug: /http_api_reference
---

# HTTP API Reference
Expand Down

0 comments on commit dd28326

Please sign in to comment.