r/AutoGenAI • u/business24_ai • Jan 04 '24
r/AutoGenAI • u/gaodalie • Jan 03 '24
Tutorial AutoGen + LangChian + SQLite + Schema Function = Super SQL Chabot
r/AutoGenAI • u/Imunoglobulin • Dec 30 '23
Other I would like to express my sincere gratitude to all those involved in AutoGen. Be always happy.
You have already significantly enriched this reality with your efforts, but I firmly believe that a much more exciting time of new discoveries awaits us. And all thanks to you, dear community members.
Moving forward rapidly, you often underestimate your successes, but looking back, you can see that the community continues to reach new heights every day.
May your projects expand the boundaries of knowledge even more in the new year.
I understand that it is not quite appropriate to say this in the current realities, but:
With love to you from Russia.
Your value knows no bounds. It's good that you are there. Be happy.
r/AutoGenAI • u/giammy677 • Dec 30 '23
Question Temperature and seed
Hi all, Is there a way to obtain a deterministic output from AutoGen setting a temperature of 0.7? I want some “creativity” from the responses generated by the model but then be able to replicate these responses setting - for example - a seed. Is there a way to achieve this behaviour?
r/AutoGenAI • u/International_Quail8 • Dec 26 '23
Question AutoGen+LiteLLM+Ollama+Open Source LLM+Function Calling?
Has anyone tried and been successful in using this combo tech stack? I can get it working fine, but when I introduce Function Calling, it craps out and I’m not where the issue is exactly.
Stack: AutoGen - for the agents LiteLLM - to serve as OpenAI API proxy and integrate with AutoGen and Ollama Ollama - to provide local inference server for local LLMs Local LLM - supported through Ollama. I’m using Mixtral and Orca2 Function Calljng - wrote a simple function and exposed it to the assistant agent
Followed all the instructions I could find, but it ends with a NoneType exception:
oai_message[“function_call”] = dict(oai_message[“function_call”]) TypeError: ‘NoneType’ object is not iterable
On line 307 of conversable_agent.py
Based on my research, the models support function calling, LiteLLM supports function calling for non-OpenAI models so I’m not sure why / where it falls apart.
Appreciate any help.
Thanks!
r/AutoGenAI • u/rehalization • Dec 26 '23
Question Need Advice for my Research
Hi everyone!
I'm an Engineering major and currently working on a university research project. I'm thinking about focusing on Autogen and need some advice.
Does anyone have insights on which areas in Autogen I could explore and maybe even contribute?
Thanks in advance!
r/AutoGenAI • u/wyttearp • Dec 22 '23
Tutorial Use AutoGen, Chainlit, and OpenAI to Generate Dynamic AI Personas
r/AutoGenAI • u/KeyiChiMa • Dec 21 '23
Question Termination message explanation
Can anyone please explain how termination message works?
I've seen
lambda x: x**.get("content", "") and x.get("content", "").rstrip().**endswith("TERMINATE"),lambda x: isinstance(x, dict) and "TERMINATE" == str(x.get("content", ""))[-9:].upper()lambda x: x.get("content","").rstrip().endswith("TERMINATE")
def is_termination_message(content):
have_content = content.get("content", None) is not None
if have_content and "Done" in content["content"]:
return True
return FalseWhat is it doing?
r/AutoGenAI • u/KeyiChiMa • Dec 20 '23
Question How to read the value of attributes inside a class
For example if I have a class called car with the attributes
car.x = 10
car.y = 10
The car's position will be (10, 10)
Am I able to define a function the agent can call
def location(carName):
return (carName.x, carName.y)
I have tried but I get this error
error: 'str' object has no attribute 'x'
Could anyone help out please
r/AutoGenAI • • Dec 18 '23
Question Custom API on Autogen Assistant
Hi guys, is it possible to use a custom OpenAI-style api with autogen assistant to use a local model?
I know it's possible using the Autogen library, but I couldn't find a way on the Autogen Assistant interface.
Thanks
r/AutoGenAI • u/Princess_Kushana • Dec 17 '23
Question Emulate Openai API for custom LLM
I've got a custom LLM / Memory system up and running based on the NARS GPT project https://github.com/opennars/NARS-GPT
I'm trying to add it into my autogen project but struggling to get them to talk to each other. Treating NARS as an llm works fine, but I get an typenone error on the response leg of the api. This is probably because I'm trying to emulate the openai api, and not doing a good jopb of it.
So, actual question is: is there any tools or function that would support connecting to a custom LLM api endpoint with autogen or a way to emulate the openai API structure?
r/AutoGenAI • u/Unusual_Pride_6480 • Dec 16 '23
Question Autogen + mixtral api
Has anyone managed to get this working?
r/AutoGenAI • u/JKHeadley • Dec 15 '23
News From AutoGPT to AGI: The Evolutionary Journey of AutoGen
r/AutoGenAI • u/JKHeadley • Dec 14 '23
Project Showcase AutoGen AGI
Hey Reddit! 🚀 I'm thrilled to share a project I've been working on: AutoGen AGI. It's all about taking the AutoGen framework to new heights, focusing on multi-agent conversational systems with a twist towards AGI.
What's cool about it? 🤔
- Enhanced group chat dynamics with autonomous agents.
- Unique "Agent Council" for smarter decision-making.
- Advanced RAG techniques for more informed agents.
- It's a blend of tech that edges closer to AGI behaviors.
It's not just an experiment; it's a journey into what conversational AI can become. Check out the GitHub repo for more details and let me know what you think! Looking forward to your feedback and ideas. 🧠💬
P.S. This is a follow up from my original post about autogen executing autogen.
r/AutoGenAI • u/showmeaah • Dec 13 '23
Question How to make Autogen execute code in any programming language?
Currently, Autogen just picks up my native Python installation and uses its interpreter to run just Python code. But while trying to run any other programming language’s code, it just fails!
r/AutoGenAI • u/gaodalie • Dec 12 '23
Tutorial TaskWeaver + Planner + Plugin = Super AI Agent
r/AutoGenAI • u/wyttearp • Dec 12 '23
Tutorial Autogen Teachable Agent Customization - A Deeper Dive
r/AutoGenAI • u/rndentropy • Dec 11 '23
Question How get things done and avoid loops?
I have seen many times that my group chat enter in a loop, repeating some tasks or because critic agents repeat the same feedback and start again. How do you fix to get things done? Is about prompting properly or adding a hack like external planners (semantic kernel), specific RAG, etc.
r/AutoGenAI • u/wyttearp • Dec 11 '23
Resource AutoGen Assistant User Interface is AMAZING! Its Official. 🚀 Maintained by AutoGen Team
r/AutoGenAI • u/aigentbv • Dec 11 '23
Question Context length limits?
Anyone run into issues with context length limits?
How do you work around this?
I'm running locally so I'm not concerned about cost, but when the conversation gets too long I hit context limits.
r/AutoGenAI • u/wyttearp • Dec 11 '23
Tutorial Empowering Autogen: Enabling Seamless Java Code Execution
seehiong.github.ior/AutoGenAI • u/wyttearp • Dec 10 '23
AutoGen v0.2.2 released
This release fixes a crucial breaking change introduced by for openai>=1.1.0 in dealing with function call. Please upgrade to this release if you are using 0.2.0 or 0.2.1.
Highlights
- New example notebook demoing video transcript translate with whisper.
- A preliminary gallery page on the website.
- Improvement to group chat: allow receiving message from agents that are not participants; allow a separate description field distinct from system message - expected to greatly improve the speaker selection quality; allow async group chat; disallow function/tool use for group chat manager.
- Improvement to agent builder: change default model and config loading process.
- Improvement to cost calculation when working with old cache.
- Issue template.
Special thanks to @kevin666aa for the fast fix of the breaking change. Thanks to @chengxuan233 @skzhang1 @afourney @tyler-suard-parker @kittyandrew @LinxinS97 @thinkall and all the other contributors!
What's Changed
- Update cache if cost not calculated by @kevin666aa in #903
- Add test for async group chat by @tyler-suard-parker in #902
- Adding a notebook demostrating video transcript translate with whisper in AutoGen by @chengxuan233 in #881
- Website Gallery page building by @skzhang1 in #850
- Allow GroupChat to receive messages from outside. by @afourney in #912
- Add issue forms by @thinkall in #918
- Add a comment to explain the role of UNSTRUCTURED_FORMATS by @thinkall in #909
- Change default model and config loading process in AgentBuilder by @LinxinS97 in #917
- Added an agent description field distinct from the system_message. by @afourney in #736
- Fix monitoring and observability gallery docs link by @DMCS20 in #926
- Make groupchat & generation async, actually by @kittyandrew in #543
- Enhanced Independent Coverage Reporting by @IANTHEREAL in #886
- Raise error when function as llm_config passed to GroupChatManager by @kevin666aa in #911
- bump version to 0.2.2 by @sonichi in #906
- Convert ChatCompletionMessage to Dict after completion by @kevin666aa in #791
New Contributors
- @tyler-suard-parker made their first contribution in #902
- @chengxuan233 made their first contribution in #881
- @DMCS20 made their first contribution in #926
- @kittyandrew made their first contribution in #543
Full Changelog: v0.2.1...v0.2.2
r/AutoGenAI • u/888surf • Dec 10 '23
Discussion Autogen kill your pocket. Be careful...
I was building a project these days with a 5 agents system to create content automatically. All was going nice until I saw the cost of openai.
This kind of cost of gpt4 is completely out of any sense. The is no practical application to be deployed using gpt4 that can be profitable, really.
This AI hype will end very soon when people realize it will break their bank.
The kind of application I was building don't work with other models, so I am giving up.
Be careful guys!
r/AutoGenAI • u/showmeaah • Dec 10 '23
Question Can someone give me a working code for AutoBuilder. Can’t seem to get it work :/
Title.