Skip to content

Alibaba LangEngine is an AI application development framework written in Java.

License

Notifications You must be signed in to change notification settings

AIDC-AI/ali-langengine

Repository files navigation

中文版说明

Alibaba langengine

Alibaba langengine is a Java-based AI application development framework. It endows LLM with two core capabilities:

  1. Data Awareness: Connecting language models with other data sources.

  2. Agency Capability: Allowing language models to interact with engineering and systematic capabilities.

The main application scenarios of alibaba-langengine include personal assistants, document-based Q&A, chatbots, querying tabular data, code analysis, low-code application generation, etc.

Related Code

alibaba-langengine-core: The most essential AI application framework engine module.

alibaba-langengine-infrastructure: The infrastructure module of the AI application framework.

alibaba-langengine-community: Community open-source co-construction module.

alibaba-langengine-demo: Related example module.

JDK version requirements

JDK 8+

Related Configuration

alibaba-langengine-openai

openai_server_url=https://api.openai.com/
openai_api_key=******
openai_api_timeout=100
# compatible
OPENAI_API_KEY=******

alibaba-langengine-dashscope

# dashscope api
dashscope_server_url=https://dashscope.aliyuncs.com/
dashscope_api_key=******
dashscope_api_timeout=100
# compatible
DASH_SCOPE_API=******

alibaba-langengine-tool

# bing api
bing_server_url=https://api.bing.microsoft.com/
bing_api_key=******

# google api
google_customsearch_server_url=https://customsearch.googleapis.com/
google_api_key=******
google_cse_id=******

# serpapi api
serpapi_server_url=https://serpapi.com/
serpapi_key=******

# tavily api
tavily_api_key=******

alibaba-langengine-adbpg

# adbpg db
adbpg_datasource_endpoint=******
adbpg_datasource_databasename=******
adbpg_datasource_u=******
adbpg_datasource_p=******

alibaba-langengine-azure

# azure api
azure_openai_server_url=******
azure_deployment_name=******
azure_openai_api_version=******
azure_openai_api_timeout=100

alibaba-langengine-claude

# claude api
anthropic_server_url=https://api.anthropic.com/
anthropic_api_key=******
anthropic_api_timeout=120

alibaba-langengine-gemini

# gemini api
gemini_api_key=******
gemini_api_timeout=120

alibaba-langengine-hologres

# hologres db
hologres_datasource_endpoint=******
hologres_datasource_databasename=knowledge_center
hologres_datasource_u=******
hologres_datasource_p=******

alibaba-langengine-huggingface

# huggingface api
huggingface_api_key=******

alibaba-langengine-milvus

# milvus
milvus_server_url=******

alibaba-langengine-minimax

#minimax api
minimax_api_key=******
minimax_group_id=******
minimax_api_timeout=120

alibaba-langengine-moonshot

# moonshot api
moonshot_server_url=https://api.moonshot.cn
moonshot_api_key=******
moonshot_api_version=v1
moonshot_server_timeout=120

alibaba-langengine-msearch

#msearch api
msearch_api_key=******
msearch_api_timeout=120

alibaba-langengine-opensearch

# opensearch vector
opensearch_datasource_instance_id=ha-cn-*****
opensearch_datasource_endpoint=ha-cn-*****
opensearch_datasource_swift_server_root=http://*****
opensearch_datasource_swift_topic=ha-cn-******

alibaba-langengine-pinecone

# pinecone vector
pinecone_api_key=******
pinecone_environment=us-west4-gcp-free
pinecone_project_name=******

alibaba-langengine-polardb

# polardb postgres
polardb_datasource_endpoint=******
polardb_datasource_databasename=******
polardb_datasource_u=******
polardb_datasource_p=******

alibaba-langengine-redis

# redis
redis_host=r-******.redis.rds.aliyuncs.com
redis_port=6379
redis_p=******
redis_session_expire_second=60

alibaba-langengine-tair

# tair vector
tair_host=r-******.redis.rds.aliyuncs.com
tair_port=6379
tair_p=******

alibaba-langengine-vertexai

# vertexai
vertexai_server_url=https://us-central1-aiplatform.googleapis.com/
vertexai_api_key=******
vertexai_project_id=******
vertexai_api_timeout=120

alibaba-langengine-xingchen

# xingchen
xingchen_api_key=lm-******
xingchen_api_timeout=120

alibaba-langengine-xinghuo

# xinghuo
xinghuo_server_url=https://spark-api.xf-yun.com/v2.1/chat
xinghuo_app_id=******
xinghuo_api_key=******
xinghuo_api_secret=******

License

This project is licensed under Apache License Version 2 (https://www.apache.org/licenses/LICENSE-2.0.txt, SPDX-License-identifier: Apache-2.0).

About

Alibaba LangEngine is an AI application development framework written in Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published