mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-07 08:26:06 +00:00
move to another folder
This commit is contained in:
parent
65be89ee45
commit
100b479317
3 changed files with 51 additions and 5 deletions
46
README.md
46
README.md
|
|
@ -110,7 +110,7 @@ pip install .
|
|||
|
||||
## ⚙️ Environment Setup
|
||||
|
||||
Create a `.env` file in your project directory:
|
||||
Create a `.env` file in your project root directory:
|
||||
|
||||
```bash
|
||||
# Required: LLM API configuration
|
||||
|
|
@ -142,6 +142,7 @@ The service will start on `http://localhost:8001`
|
|||
### 🔍 Production Setup with Elasticsearch Backend
|
||||
```bash
|
||||
experiencemaker \
|
||||
http_service.port=8001 \
|
||||
llm.default.model_name=qwen3-32b \
|
||||
embedding_model.default.model_name=text-embedding-v4 \
|
||||
vector_store.default.backend=elasticsearch
|
||||
|
|
@ -186,6 +187,8 @@ response = requests.post(url=base_url + "summarizer", json={
|
|||
})
|
||||
|
||||
response = response.json()
|
||||
print(response)
|
||||
|
||||
experience_list = response["experience_list"]
|
||||
for experience in experience_list:
|
||||
print(experience)
|
||||
|
|
@ -203,6 +206,8 @@ response = requests.post(url=base_url + "retriever", json={
|
|||
})
|
||||
|
||||
response = response.json()
|
||||
print(response)
|
||||
|
||||
experience_merged: str = response["experience_merged"]
|
||||
print(f"experience_merged={experience_merged}")
|
||||
```
|
||||
|
|
@ -210,6 +215,45 @@ print(f"experience_merged={experience_merged}")
|
|||
### 💾 Dump Experiences From Vector Store
|
||||
Dump the experience with workspace_id from the vector store into the {path}/{workspace_id}.jsonl file.
|
||||
|
||||
<div class="tab">
|
||||
<button class="tablinks" onclick="openLanguage(event, 'Python')">Python</button>
|
||||
<button class="tablinks" onclick="openLanguage(event, 'Java')">Java</button>
|
||||
</div>
|
||||
|
||||
<div id="Python" class="tabcontent">
|
||||
```python
|
||||
def hello_world():
|
||||
print("Hello, World!")
|
||||
```
|
||||
</div>
|
||||
|
||||
<div id="Java" class="tabcontent">
|
||||
```java
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World!");
|
||||
}
|
||||
}
|
||||
```
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function openLanguage(evt, languageName) {
|
||||
var i, tabcontent, tablinks;
|
||||
tabcontent = document.getElementsByClassName("tabcontent");
|
||||
for (i = 0; i < tabcontent.length; i++) {
|
||||
tabcontent[i].style.display = "none";
|
||||
}
|
||||
tablinks = document.getElementsByClassName("tablinks");
|
||||
for (i = 0; i < tablinks.length; i++) {
|
||||
tablinks[i].className = tablinks[i].className.replace(" active", "");
|
||||
}
|
||||
document.getElementById(languageName).style.display = "block";
|
||||
evt.currentTarget.className += " active";
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
```python
|
||||
response = requests.post(url=base_url + "vector_store", json={
|
||||
"workspace_id": workspace_id,
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ api:
|
|||
```yaml
|
||||
op:
|
||||
custom_operation:
|
||||
backend: custom_backend_name
|
||||
backend: custom_operation #
|
||||
llm: default # Reference to LLM configuration
|
||||
vector_store: default # Reference to vector store
|
||||
params: # Custom parameters for this operation
|
||||
|
|
|
|||
|
|
@ -44,12 +44,14 @@ Enable AI to naturally become stronger through everyday work, rather than wastin
|
|||
|
||||
## Current TODO
|
||||
|
||||
- [x] op dev & test ready
|
||||
- [ ] integrate into beyond-agent @jinli
|
||||
- [x] op dev & test ready @jiaji
|
||||
- [ ] cook_book-appworld code & readme @jiaji
|
||||
- [ ] cook_book-bfcl-v3 op @zouyin delay 0730
|
||||
- [ ] fix multi-process bug @jinli
|
||||
- [x] fix multi-process bug @jinli
|
||||
- [ ] logo optimize @jiaji
|
||||
- [ ] Ready-made Experience Store @jinli, add appworld/bfcl-v3 default experience store @jiaji
|
||||
- [ ] op config make up @jiaji
|
||||
- [ ] config make up, easy to understand @jinli
|
||||
- [ ] refine readme @jinli
|
||||
|
||||
- [ ] integrate into beyond-agent @jinli
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue