Commit d7846e76 authored by Nandeesh Patel Gowdru Prabushanker's avatar Nandeesh Patel Gowdru Prabushanker
Browse files

updating readme file

parent 0a49eff2
## DBpedia entity embeddings
## DBpedia entity embeddings
This repo has APIs the can be used to access embeddings for all the DBpedia entities. The embeddings are indexed on Elasticsearch server.
<br><br>
### List of APIs
### List of APIs
####1. Get entity embeddings
#### 1. Get entity embeddings
This API takes a list of entities as input and returns the embeddings of the given entities in response. It returns embeddings of first 10 unique entities and ignores the rest.
```
URL: /get-entity-embedding
......@@ -15,14 +15,14 @@ Request Body: {
}
```
####2. Get elastic search entity embedding index properties
#### 2. Get elastic search entity embedding index properties
This API returns the list of properties of every document in the Elasticsearch index of entity embeddings.
```
URL: /get-entity-index-info
METHOD: GET
```
####3. Get relation embeddings
#### 3. Get relation embeddings
This API takes a list of relations as input and returns the embeddings of the given entities in response. It returns embeddings of first 10 unique entities and ignores the rest.
```
URL: /get-relation-embedding
......@@ -32,7 +32,7 @@ Request Body: {
}
```
####4. Get elastic search relation embedding index properties
#### 4. Get elastic search relation embedding index properties
This API returns the list of properties of every document in the Elasticsearch index of relation embeddings.
```
URL: /get-relation-index-info
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment