diff --git a/README.md b/README.md index c98f287f..eb1c4569 100644 --- a/README.md +++ b/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. +
+ + +
+ +
+```python +def hello_world(): + print("Hello, World!") +``` +
+ +
+```java +public class Main { +public static void main(String[] args) { +System.out.println("Hello, World!"); +} +} +``` +
+ + + + ```python response = requests.post(url=base_url + "vector_store", json={ "workspace_id": workspace_id, diff --git a/doc/advanced_guide.md b/doc/advanced_guide.md index 40f14d01..82895e39 100644 --- a/doc/advanced_guide.md +++ b/doc/advanced_guide.md @@ -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 diff --git a/doc/future_roadmap.md b/doc/future_roadmap.md index 65e0f794..3fdf767f 100644 --- a/doc/future_roadmap.md +++ b/doc/future_roadmap.md @@ -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