Comments (6)
能分享一下是怎么解决的吗
from autogen.
How do you create agent
from autogen.
How do you create agent
var skAgent = new SemanticKernelAgent(
kernel: kernel,
name: "assistant",
systemMessage: "You are a helpful AI assistant")
.RegisterMessageConnector()
.RegisterPrintMessage();
var result = await skAgent.SendAsync("Tell me more about gpt-4-o");```
这个是我创建agent的方式,我是按照示例中来做的。openaiConfig是我保存我的key以及模型的类。
from autogen.
How do you create agent
var kernel = Kernel.CreateBuilder().AddOpenAIChatCompletion(openAIConfig.DeploymentModelName, openAIConfig.Endpoint, openAIConfig.Key).Build();
var skAgent = new SemanticKernelAgent(
kernel: kernel,
name: "assistant",
systemMessage: "You are a helpful AI assistant")
.RegisterMessageConnector()
.RegisterPrintMessage();
var result = await skAgent.SendAsync("Tell me more about gpt-4-o");
这个是我创建agent的方式,我是按照示例中来做的。openaiConfig是我保存我的key以及模型的类。
from autogen.
直接invoke sk的chat comoletion service会报错吗?
from autogen.
直接invoke sk的chat comoletion service会报错吗?
我使用其他方式解决了,但是还是不清楚这个出问题的原因。换了另外一个示例就可以了。
from autogen.
Related Issues (20)
- [Roadmap]: Enhanced RAG Support HOT 2
- [Bug]: autogen can't work with vllm v0.5.1 HOT 5
- [Feature Request]: Support for function calling and images in MessageHistoryLimiter
- [Bug]: AutogenStudio 0.1.3 GroupChat Skills being overwritten. HOT 1
- [.Net][API Break Change]: Deprecate `TextMessageUpdate`
- [.Net][API Break Change]: Deprecate `ToolCallUpdate`
- [.Net][Feature Request]: Allow more options to be passed into `OpenAIChatAgent` constructor
- [Bug]: AutoGen.NET middelware overview documentation contains errors in the example code.
- [.Net][API Break Change] In `AutoGen.SourceGenerator`, stop generating `FunctionDefinition`
- [.Net][Feature Request]: Enable dotnet format check in ci
- [Issue][.Net] Why does the all-in-one Autogen package depend on all clients? HOT 2
- [.Net][Document]: Use AutoGen.Net agent as model in AG Studio HOT 1
- [.Net][Bug]: AutoGen.WebAPI not released
- [Bug]: Websocket demo not working
- [Roadmap]: Google Integrations
- [Issue]: Gemini models do not execute code in Autogen Studio
- [.Net][Feature Request]: Rename the namespace of AutoGen.WebAPI from AutoGen.Service to AutoGen.WebAPI
- [Issue]: How can I disable caching? HOT 3
- [Bug]: Handle CTRL+C gracefully
- [Bug]: Not understanding warning message from autogen during ConverseableAgent creation.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autogen.